Combine and your existing delegates and callbacks
summary
Shows concrete recipes to modernize callback APIs: wrap a completion handler with a Combine Future for one-shot to return AnyPublisher, mark state with @Published -> publisher to replace change handlers, and build a CLLocationManager wrapper that exposes publishers for location and permissions — the provider works and coexists with old APIs. Demonstrates that networking often reads cleaner with async/await while state observation is still safer in Combine due to automatic cancelation, and explains converting publishers to async streams via the publisher.values bridge.
AI-written summary · about
chapters (7)
- 0:00Start
- 9:56Key requirements when introducing a new technology
- 11:18Combine is a functional reactive programming framework
- 16:17Bridging callback based code into Combine
- 16:59What about change handlers?
- 18:48Replacing change handlers with Combine
- 23:12Async/ await for running tasks








