Getting Started with Combine
summary
Overview of Combine’s real mechanics: concrete types (Publisher, Subscriber, Subscription, Subjects) and how demand/backpressure works so fast emitters don’t overwhelm consumers; practical tools like URLSession.dataTaskPublisher, decoding operator, sink and assign, and operators such as map, compactMap, removeDuplicates, dropFirst and append; stateful vs event subjects with CurrentValueSubject and PassthroughSubject; SwiftUI hooks via ObservableObject’s change publisher and @Published; example pipeline decodes a jokes API response and updates UI successfully.
AI-written summary · about
chapters (13)
- 0:00Intro
- 1:19Combine Basics
- 2:46Publisher
- 4:39Combine Theory
- 7:36Backpressure
- 9:18Subject
- 11:02Recap
- 11:47Combining Practice
- 13:21Operators
- 14:09Chainable Operators
- 18:26Operators on Any Work
- 21:40Publish
- 25:52Resources








