Among numerous advancements in iOS development brought to us in WWDC20 are a number of updates, enhancements, and demonstrations of an overall continued effort to build out the robustness of SwiftUI, furthering its viability as the preferred method of UI development in iOS.
In order to learn as much as possible about these updates to SwiftUI, we built a sample Cities app, with the objectives being to explore the new app lifecycle, new
View types, modifiers, property wrappers, and any other general improvements we found along the way.
Upon creating a new project in Xcode, with the
SwiftUIApp Life Cycle selected, you’ll notice your project is pre-packaged with a new Swift file, named to match your project. This file effectively replaces
SceneDelegate, and is all that is needed to startup and run your app. …