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 |
Tags
- Combine
- AVCaptureSession
- Responder chain
- readLine
- MaxHeap
- reversed
- BidirectionalCollection
- 전자출입
- 입력
- URLSession
- RxSwift
- async
- Asnyc
- binder
- ReactorKit
- moya
- UIResponder
- input
- Python
- ios
- hitTest
- Custom Class
- UserDefaults
- vtable
- DISPATCH
- weak self
- delays deallocation
- 공백
- swift
- 사내배포
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