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
- weak self
- Combine
- UserDefaults
- ReactorKit
- input
- async
- 사내배포
- delays deallocation
- 전자출입
- vtable
- ios
- AVCaptureSession
- DISPATCH
- swift
- Custom Class
- readLine
- moya
- BidirectionalCollection
- hitTest
- 공백
- URLSession
- Python
- Asnyc
- RxSwift
- UIResponder
- MaxHeap
- binder
- reversed
- Responder chain
- 입력
Archives
- Today
- Total
목록Asnyc (1)
틈틈히 적어보는 개발 일기
2. Publishers & Subscribers
Hello Publisher publisher는 두가지 이벤트를 방출함 값 (as element) completion event Hello Subscriber Subscribing with sink(_: _:) RxSwift의 subscribe(onNext: ) 와 동일 // Code Just(["myung", "sub"]) .sink(receiveCompletion: { print("오늘 스터디는?? \\($0)") }, receiveValue: { print("스터디 참가자: \\($0)") }) // Result 스터디 참가자: ["myung", "sub"] 오늘 스터디는?? finished Subscribing with assign(to:on:), assign(to: ) KVO 방식으로 값을 할당..
📱 iOS, Swift/📚 Combine
2023. 4. 9. 14:06