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…

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store