mirror of
https://github.com/nicklockwood/SwiftFormat.git
synced 2026-06-16 10:34:34 +00:00
20 lines
621 B
Swift
Executable File
20 lines
621 B
Swift
Executable File
// Copyright © 2017 Schibsted. All rights reserved.
|
|
|
|
import UIKit
|
|
|
|
@UIApplicationMain
|
|
final class AppDelegate: UIResponder, UIApplicationDelegate, UISplitViewControllerDelegate {
|
|
var window: UIWindow?
|
|
|
|
func application(_: UIApplication, didFinishLaunchingWithOptions _: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
|
|
window = UIWindow()
|
|
|
|
let editController = EditViewController()
|
|
window?.rootViewController = UINavigationController(rootViewController: editController)
|
|
editController.showPreview(animated: false)
|
|
|
|
window?.makeKeyAndVisible()
|
|
return true
|
|
}
|
|
}
|