반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- swift6
- dismiss
- SwiftUI
- NavigationLink
- RxSwift
- operator
- subject
- @Binding
- @EnvironmentObject
- nonisolated
- @Environment
- Xcode
- Creating Operators
- typeorm
- @State
- URL(string:)
- Bug
- ios14
- RxCocoa
- Operators
- IOS
- graphql
- init
- init?
- nestjs
- Operater
- SWIFT
- RFC1738/1808
- NullObject
- vim
Archives
- Today
- Total
목록zip (1)
Tunko Development Diary

combineLatest combineLastest는 2개부터 8개까지 옵저버블을 파라미터로 받고, 클로저를 리턴합니다. combineLastest에서 중요한건 이벤트가 방출되는 시점입니다. let disposeBag = DisposeBag() let emoticonSubject = PublishSubject() let textSubject = PublishSubject() Observable.combineLatest(emoticonSubject, textSubject) { emoticon, text -> String in return "\\(emoticon) : \\(text)" } .subscribe{ print($0)} .disposed(by: disposeBag) emoticonSubject.on..
Development/RxSwift
2022. 6. 4. 20:47