
Shifting time publisher에서 방출하는 이벤트를 지연시키는 연산자를 알아보겠습니다. delay(for:tolerance:scheduler:options) upstream 에서 값을 방출할 때마다 잠시 동안 지연시켜 다음 지정한 스케줄러에서 방출합니다. import Combine import SwiftUI import PlaygroundSupport // 1 let valuesPerSecond = 1.0 let delayInSeconds = 1.5 // 2 let sourcePublisher = PassthroughSubject() // 3 let delayedPublisher = sourcePublisher.delay(for: .seconds(delayInSeconds), schedule..
iOS
2022. 11. 24. 20:37
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
TAG
- Swift 알고리즘
- Swift init
- Swift RIBs
- Swift Error Handling
- Combine: Asynchronous Programming with Swift
- 원티드 프리온보딩
- Swift joined
- 2023년 회고
- Swift 프로퍼티
- CS 네트워크
- swift programmers
- Swift joined()
- Swift 내림차순
- removeLast()
- RIBs tutorial
- Swift 프로그래머스
- ios
- swift (programmers)
- Swift ModernRIBs
- iOS error
- Swift Leetcode
- swift reduce
- Class
- Swift
- swift 고차함수
- RTCCameraVideoCapturer
- swift property
- swift protocol
- Swift inout
- Swift final
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
글 보관함