반응형
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
- Operater
- init
- NullObject
- init?
- operator
- Creating Operators
- Operators
- NavigationLink
- @State
- @EnvironmentObject
- RxCocoa
- nestjs
- dismiss
- typeorm
- nonisolated
- RFC1738/1808
- Xcode
- SwiftUI
- SWIFT
- URL(string:)
- vim
- RxSwift
- subject
- @Binding
- graphql
- swift6
- ios14
- @Environment
- IOS
- Bug
Archives
- Today
- Total
목록withLatestFrom (1)
Tunko Development Diary
RxSwift) Transforming Operators(withLatestFrom, sample, switchLatest)
withLatestFrom withLatestFrom 은 트리거옵저버블.withLatestFrom(데이터옵저버블) 트리거옵저버블.withLatestFrom(데이터옵저버블) 형태로 사용됩니다. let disposeBag = DisposeBag() enum TunkoError: Error { case error } let 트리거서브젝트 = PublishSubject() let 데이터서브젝트 = PublishSubject() 트리거서브젝트.withLatestFrom(데이터서브젝트) .subscribe{ print($0) } .disposed(by: disposeBag) 데이터서브젝트.onNext("데이터") 트리거서브젝트.onNext(()) 트리거서브젝트.onNext(()) 데이터서브젝트.onCompleted..
Development/RxSwift
2022. 6. 6. 02:55