2018-10-24 01:37:28 +00:00
|
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
// Copyright © 2018 WireGuard LLC. All rights reserved.
|
2018-08-11 07:15:54 +00:00
|
|
|
|
|
|
|
import UIKit
|
|
|
|
|
|
|
|
@UIApplicationMain
|
|
|
|
class AppDelegate: UIResponder, UIApplicationDelegate {
|
|
|
|
|
|
|
|
var window: UIWindow?
|
|
|
|
|
2018-08-11 07:49:21 +00:00
|
|
|
func application(_ application: UIApplication,
|
|
|
|
didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
|
2018-08-11 07:15:54 +00:00
|
|
|
|
2018-08-11 07:49:21 +00:00
|
|
|
let window = UIWindow(frame: UIScreen.main.bounds)
|
|
|
|
window.backgroundColor = UIColor.white
|
|
|
|
self.window = window
|
2018-08-11 07:15:54 +00:00
|
|
|
|
2018-08-11 07:49:21 +00:00
|
|
|
window.rootViewController = MainViewController()
|
|
|
|
window.makeKeyAndVisible()
|
2018-08-11 07:15:54 +00:00
|
|
|
|
2018-08-11 07:49:21 +00:00
|
|
|
return true
|
2018-08-11 07:15:54 +00:00
|
|
|
}
|
|
|
|
}
|