SwiftUI App Life Cycle: Examples Collection (2020)
This collection will update frequently until WWDC2021. Bookmark now!
Are you trying to build your first app with SwiftUI? Don’t know how to get started? You can find some resources and sample codes for SwiftUI App Life Cycle here.
Environment: iOS14 / iPadOS 14 / macOS 11
Tool: Xcode 12
If you need to register / enroll Apple developer Account, read this first:
How to: Register An Apple Developer Account (2020)
A pro guideline of how to register apple developer program in 2020.
Tip: Search with shortcut CMD + F 👨💻
Here’re the code examples.
App Clip (App Clips)
How to: Build “App Clip” for iOS 14 beta 5 or above
The very first guideline of creating and upload App Clip to TestFlight and App Store…
SwiftUI on Xcode 12: ARKit + SceneKit + LottieMotion = ?
Recently, I read a good article called, “How to Use a SwiftUI View in an ARKit and SceneKit App”, which inspired me to…
SwiftUI2: Integrate Sign in with Apple to CloudKit (2020)
Specially written for Apple Developers who want to use CloudKit and Sign in with Apple on Xcode 12 (iOS 14 SDK) and…
How to: Build A Cross-Platform App with SwiftUI 2
Let me show you how to build a simple app that works on iOS, iPadOS, and macOS…