
iOS 14 Programming for Beginners
By :

A SwiftUI Xcode project is created in the same way as a regular Xcode project, but you configure it to use SwiftUI instead of storyboards. As you will see, the user interface is generated entirely in code, and you'll be able to see changes in the user interface immediately as you modify your code.
Important information
You can watch a video of Apple's SwiftUI presentation at WWDC 2020 at https://developer.apple.com/videos/play/wwdc2020/10119.
Apple's official SwiftUI documentation can be found online at https://developer.apple.com/documentation/swiftui.
Let's begin by creating a new SwiftUI Xcode project. Follow these steps:
Figure 23.1 – Project template screen with the iOS App template selected
Figure 23.2 – Project options screen
Configure this screen...