SwiftUI Lifecycle

Filter by category
Filter by tag
10K

The Simple Life(cycle) of a SwiftUI View

Taking the Veteran Approach to the Next Generation

Sep 13, 2019Danny Bolella
  • Lifecycle
  • Internals
73

SwiftUI 2.0 brought us a lot of new features. My favorite is the new application lifecycle because it is simpler than the old one, but configuring it with Firebase can be tricky.

Feb 16, 2021Can Balkaya
72
Jan 22, 2021Jeeva Tamilselvan

Commands in SwiftUI

This week we will talk about another new API that Apple released this year during WWDC 20. Replacing AppDelegate with the new SwiftUI App Lifecycle brings us tons of new APIs that we can use to replace old functionality with a brand new declarative API. One of those APIs is commands, which we will cover today.

Nov 24, 2020swiftwithmajid.com

This week we will continue the series of posts about the app and scene lifecycle in SwiftUI. Today we will concentrate on scene management and the features that the new Scene protocol provides us to replace the old SceneDelegate.

Aug 26, 2020swiftwithmajid.com

SwiftUI gives us equivalents to UIKit’s viewDidAppear() and viewDidDisappear() in the form of onAppear() and onDisappear(). You can attach any code to these two events that you want, and SwiftUI will execute them when they occur.

Jan 22, 2021www.hackingwithswift.com
0

...This article will dive into the basics of maintaining state throughout the “real world” app lifecycle.

Jun 12, 2019Mat Schmid