A sample app to learn how to use new Swift Combine’s Publisher and Subscriber to handle event streams, merge multiple publishers and more.
Version
- Swift 5
- iOS 13
- Xcode 11
Combine, announced at WWDC 2019, is Apple’s new “reactive” framework for handling events over time. You can use Combine to unify and simplify your code for dealing with things like delegates, notifications, timers, completion blocks and callbacks. There have been third-party reactive frameworks available for some time on iOS, but now Apple has made its own.