AppDelegate.swift 659 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 notification = NotificationManager()
            let navigationViewController = NavigationViewController()
            window.rootViewController = navigationViewController
            window.makeKeyAndVisible()
        }
        return true
    }
}