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