
Publisher Protocol public protocol Publisher { associatedtype Output associatedtype Failure : Error } ✔️ 말 그대로 Publish(발행)하는 프로토콜. Subscriber의 instance에게 elements를 전달. ✔️ Publisher의 associated types인 Output, Failure는 -> Subscriber의 associated types인 Input, Failure과 매치됨 ✔️ Publisher는 subscriber를 받아들이기 위해 receive(subscriber:)를 함(Publisher와 Subscriber가 연결되는 행위). ✔️ 그래야 Publisher가 발행 하는 값을 Subscribe..
iOS 개발자 되기/combine
2022. 11. 3. 17:00
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크