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