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
- ios
- ribs
- Xcode
- Protocol
- swiftUI
- Human interface guide
- SWIFT
- clean architecture
- Observable
- MVVM
- UITextView
- RxCocoa
- 스위프트
- swift documentation
- combine
- uitableview
- UICollectionView
- 리팩토링
- 클린 코드
- 리펙토링
- Refactoring
- map
- collectionview
- uiscrollview
- Clean Code
- HIG
- rxswift
- tableView
- 애니메이션
- 리펙터링
Archives
- Today
- Total
목록observe(on:) (1)
김종권의 iOS 앱 개발 알아가기
[iOS - Swift] subscribe(on:)와 observe(on:)의 차이 (RxSwift)
사전 지식 아래 코드에서 1번과 2번 중 subscription 영역과 observing 영역을 구분하면? 1번 - subscription 영역 2번 - observing 영역 Observable .create { observer in // 1. } .subscribe(onNext: { _ in // 2. }) .disposed(by: disposeBag) subscribe(on:)와 observe(on:) subscribe(on:)은 subscription영역에 대한 스레드를 의미 observe(on:)은 observing영역에 대한 스레드를 의미 테스트 메인 스레드에서 아래 코드 호출 subscription영역과 observing영역은 main thread Observable .create { obs..
iOS 응용 (swift)
2022. 12. 9. 22:41