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:

Tip: Search with shortcut CMD + F 👨‍💻

Here’re the code examples.

A-Z

App Clip (App Clips)

ARKit

UIKit only!

CloudKit

Cross-Platform

Firebase

Analytics

Auth

App Tracking Transparency

Identifier for Advertisers (IDFA)

FaceID

Coming Soon…

Localization

Notification

CloudKit

Coming Soon…

SceneKit

UIKit only!

Sidebar

macOS

Sign in with Apple

VisionKit

n.a.

Widget

Useful Link

If you have any good resources want to share with us, feel free to comment below!

Developer, UI/UX Designer and 📽Photographer | Contact: hello@1998.media | Website: 1998.media

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