반응형
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 | 31 |
Tags
- @State
- vim
- Operater
- Xcode
- NavigationLink
- init
- RxCocoa
- init?
- nonisolated
- dismiss
- swift6
- ios14
- RFC1738/1808
- operator
- @Binding
- SWIFT
- nestjs
- Bug
- typeorm
- Creating Operators
- RxSwift
- SwiftUI
- @Environment
- NullObject
- subject
- IOS
- graphql
- Operators
- URL(string:)
- @EnvironmentObject
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