The Cocoa frameworks use a range of asynchronous interfaces, including the target-action pattern, key-value observing, notifications, and callbacks. We can leverage the Combine framework to create a single, unified interface for asynchronous programming. This opens up a number of compelling advantages.
Subscribe to Cocoacasts Plus to watch this episode.
Building Reactive Applications With Combine
Reactifying Swift with the Published Property Wrapper
by Bart Jacobs in Programming
Swift 5
Xcode 12
iOS 14
Building Reactive Applications With Combine
-
03:12
-
2 What Is Reactive Programming
09:53
-
04:17
-
04:24
-
05:48
-
11 Reactifying Swift with the Published Property Wrapper
08:01
-
13 Using Publishers to Push Data
06:27
-
18 Reducing State with Subjects
08:35
-
20 Reactifying the Week View Controller
08:32
-
21 Combine and Diffable Data Sources
08:53
-
23 Subscribing to Settings Changes
11:08
-
07:25
-
06:48
-
07:35
-
09:30
-
11:04