aboutsummaryrefslogtreecommitdiffstats
path: root/Wireguard/AppDelegate.swift
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Wireguard/AppDelegate.swift25
1 files changed, 25 insertions, 0 deletions
diff --git a/Wireguard/AppDelegate.swift b/Wireguard/AppDelegate.swift
new file mode 100644
index 0000000..4c399e5
--- /dev/null
+++ b/Wireguard/AppDelegate.swift
@@ -0,0 +1,25 @@
+//
+// AppDelegate.swift
+// Wireguard
+//
+// Created by Jeroen Leenarts on 23-05-18.
+// Copyright © 2018 Wireguard. All rights reserved.
+//
+
+import UIKit
+
+@UIApplicationMain
+class AppDelegate: UIResponder, UIApplicationDelegate {
+
+ var window: UIWindow?
+ var appCoordinator: AppCoordinator!
+
+ func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
+
+ self.window = UIWindow(frame: UIScreen.main.bounds)
+ self.appCoordinator = AppCoordinator(window: self.window!)
+ self.appCoordinator.start()
+
+ return true
+ }
+}