In this chapter, we’ll look at the variety of building blocks provided by SwiftUI. SwiftUI, like UIKit, provides various elements we can use to build out our UI. We’ve already seen the Text UI element. That’s just the start.
Old Friends and New
If you’ve worked with Xcode development before, you’re probably familiar with many of the standard UI elements. Switch, Segmented Control, Picker View, and others have been good friends for a long time.
Don’t worry – you’ll still be seeing them. However, you’ll create them differently. Of course, yes, it will be in code. But it will also take a more ...