At the Apple Worldwide Developer Conference (WWDC) in 2019, Apple took a lot of us by surprise with the announcement of SwiftUI, a brand new user interface (UI) framework written from the ground up, entirely in Swift.
Making use of the declarative programming paradigm, SwiftUI not only offers a powerful way to programmatically create and design your UI but a functional and logical approach too.
Alongside many other announcements at WWDC 19, Apple also announced its very own entry into the reactive programming stream with a new framework called Combine. Combine replaces the traditional delegate pattern most of us will be accustomed to in iOS and macOS development.
With SwiftUI's change to the dynamics of how UI patterns are written programmatically, Combine is a welcome addition alongside the SwiftUI framework. In this chapter, we'll take...