You can watch this episode by subscribing to Cocoacasts Plus.
Building Reactive Applications With Combine
Subscribing to Settings Changes
Building Reactive Applications With Combine
Download Your Free Copy of
The Missing Manual
for Swift Development
The Missing Manual
for Swift Development
The Guide I Wish I Had When I Started Out
Join 20,000+ Developers Learning About Swift Development
Download Your Free CopyIn this episode, we fix the settings view using the Combine framework. We no longer rely on the delegation pattern to propagate settings changes. In the previous episode, we created a view model for the settings view controller. The settings view model exposes a publisher for each setting. Objects interested in settings changes can subscribe to these publishers. Let me show you how that works.
Instant and Unlimited Access
to 400+ Cocoacasts Tutorials
Monthly
$19 / month
Pay Once a Month
30 Day Money Back Guarantee
Yearly
$8.25 / month (billed annually)
Pay Once a Year and Save $129
30 Day Money Back Guarantee
Access to All Books