Files
2025-10-04 08:46:46 +01:00

27 lines
646 B
Swift
Executable File

// Copyright © 2017 Schibsted. All rights reserved.
import Layout
import UIKit
#if !swift(>=4.2)
extension UIApplication {
typealias LaunchOptionsKey = UIApplicationLaunchOptionsKey
}
#endif
@UIApplicationMain
final class AppDelegate: UIResponder, UIApplicationDelegate {
var window: UIWindow?
func application(_: UIApplication, didFinishLaunchingWithOptions _: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
LayoutNode.useLegacyLayoutMode = false
window = UIWindow()
window?.rootViewController = ExamplesViewController()
window?.makeKeyAndVisible()
return true
}
}