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
- swift documentation
- ribs
- 리펙토링
- Protocol
- Refactoring
- Human interface guide
- 리펙터링
- UITextView
- clean architecture
- map
- SWIFT
- 리팩토링
- Observable
- UICollectionView
- Clean Code
- 클린 코드
- swiftUI
- rxswift
- HIG
- RxCocoa
- 스위프트
- tableView
- combine
- uiscrollview
- Xcode
- uitableview
- MVVM
- ios
- collectionview
- 애니메이션
Archives
- Today
- Total
목록ignoring (1)
김종권의 iOS 앱 개발 알아가기
[RxSwift] 5.Filtering Operators
구독 요청시, filtering하는 연산자를 넣어서 이벤트(onNext)들을 filter하여 선택적인 emit을 하기위한 연산자 1. Ignoring operators 1) ignoreElements() - next이벤트 금지 필터 (completed, error는 사용가능) /// ignoreElements example(of: "ignoreElements") { // 1 let strikes = PublishSubject() let disposeBag = DisposeBag() // 2 strikes .ignoreElements() .subscribe { _ in print("You're out!") } .disposed(by: disposeBag) strikes.onNext("X") // print..
RxSwift/RxSwift 기본
2020. 5. 26. 20:52