The View Protocol
Note: In this episode, you may see the now obsolete #if DEBUG macro which used to be utilised for previews to run in the canvas. This is now no longer necessary, and you can safely ignore it. We’ve removed it from the project for convenience as well.
Additional resources:
Advanced Swift: Generics and Protocols
Combine: Asynchronous Programming with Swift
In this episode you'll start to work with SwiftUI's View protocol as well as learn why we no longer need UIViewControllers.
Comments