1234567891011121314151617181920212223242526 |
- import UIKit
- @main
- class AppDelegate: UIResponder, UIApplicationDelegate {
- var window: UIWindow?
- func application(_: UIApplication, didFinishLaunchingWithOptions _: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
- window = UIWindow(frame: UIScreen.main.bounds)
- let rootViewController = ViewController()
- let navigationController = UINavigationController(rootViewController: rootViewController)
- window?.rootViewController = navigationController
- window?.makeKeyAndVisible()
- return true
- }
- }
|