SwiftUI replaces the old UIKit lifecycle (AppDelegate, SceneDelegate) with a declarative entry point.
@main
struct AppetizersApp: App {
var body: some Scene {
WindowGroup {
AppetizerTabView()
}
}
}
App protocolAppDelegate + SceneDelegateWindowGroup {
AppetizerTabView()
}