Intro to SwiftUI — Part 2: The basics of views
In the previous post, we learned about the new language features in Swift 5.1, such as opaque result types and function builders, which power the new declarative syntax of SwiftUI.
Now that we understand the basic syntax, it’s time to start exploring the basics of SwiftUI itself.
This post is all about understanding views — what views are, how views are laid…