Core Idea

SwiftUI replaces the old UIKit lifecycle (AppDelegate, SceneDelegate) with a declarative entry point.


Entry Point

@main
struct AppetizersApp: App {
    var body: some Scene {
        WindowGroup {
            AppetizerTabView()
        }
    }
}

Key Concepts

1. App


2. Scene


3. WindowGroup

WindowGroup {
    AppetizerTabView()
}