All SwiftUI Scene Types Noted

All SwiftUI Scene Types Noted

Discover the latest SwiftUI scenes to help you present windows within your apps.

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:

  1. WindowGroup: Provides a way to build data-driven applications across all of apple's platforms.

  2. DocumentGroup: Enables support for opening, creating, and saving documents.

  3. Settings: Presents an interface for viewing and modifying an app's settings. (macOS only)

  4. Window: Present its content in a single, unique window. (macOS - only.)

  5. MenuBarExtra: Create a utility app that only shows in the menu bar.

I hope this sketch note is helpful to you.

If you find this content helpful, please consider buying me a coffee by downloading the rich and high-resolution version of this sketch note here.

References:

  1. WWDC 2022: developer.apple.com/videos/play/wwdc2022/10..