AppDelegate.swift 602 Bytes
import UIKit

@main
    class AppDelegate: UIResponder, UIApplicationDelegate {
    var window: UIWindow?
    
    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
        let screenRect = UIScreen.main.bounds
        window = UIWindow(frame: screenRect)
        
        if let window = window {
            let navigationViewController = NavigationViewController()
            window.rootViewController = navigationViewController
            window.makeKeyAndVisible()
        }
        return true
    }
}