SwiftUI scenes are the main building blocks to structure and easily build more kinds of apps for apple platforms.
While most developers build apps for iOS, knowing the different scene types helps you to easily build multiplatform apps and follow the apple human interface guidelines to better design and architect your ideas.
Below I share all the SwiftUI scene types available with a resume of these key points concepts and their use.
Things to take in mind:
WindowGroup
: Provides a way to build data-driven applications across all of apple's platforms.DocumentGroup
: Enables support for opening, creating, and saving documents.Settings
: Presents an interface for viewing and modifying an app's settings. (macOS only)Window
: Present its content in a single, unique window. (macOS - only.)MenuBarExtra
: Create a utility app that only shows in the menu bar.
I hope this sketch note is helpful to you.
References: