Skip to content

Instantly share code, notes, and snippets.

@chriswebb09
Created June 9, 2017 06:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chriswebb09/c56233aed965caa4669f337e5c349674 to your computer and use it in GitHub Desktop.
Save chriswebb09/c56233aed965caa4669f337e5c349674 to your computer and use it in GitHub Desktop.
import UIKit
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
var window: UIWindow?
var coordinator: MainCoordinator!
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
window = UIWindow(frame: UIScreen.main.bounds)
coordinator = MainCoordinator(window: window)
/*
SplashCoordinator setup
*/
coordinator.setup(coordinator: splashCoordinator)
coordinator.start()
return true
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment