Image for post
Image for post
A new App Lifecycle, new View Types, Lazy Loading, and more

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.

The SwiftUI App Lifecycle

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 AppDelegate and SceneDelegate, and is all that is needed to startup and run your app. …

About

Ryan Donovan

Mobile Developer @ CapTech with a special focus in iOS Development

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