Last active
May 8, 2019 08:34
-
-
Save hlung/3ca442775bb3b1aeeb8783755137f8bd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@UIApplicationMain | |
class AppDelegate: UIResponder, UIApplicationDelegate { | |
var window: UIWindow? // UIApplicationDelegate expects an optional UIWindow | |
private var appCoordinator: AppCoordinator! | |
func application(_ application: UIApplication, | |
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? = nil) -> Bool { | |
window = UIWindow(frame: UIScreen.main.bounds) | |
appCoordinator = AppCoordinator(window: window!) | |
appCoordinator.start() | |
return true | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment