Created
February 13, 2019 06:45
-
-
Save spnkr/efda07cf539007205c82e8176702e4ac to your computer and use it in GitHub Desktop.
#blog #AppDelegate
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
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { | |
_ = coreDataStack.mainContext | |
self.window = UIWindow(frame: UIScreen.main.bounds) | |
let loadingViewController = LoadingViewController() | |
loadingViewController.coreDataStack = coreDataStack | |
self.window?.rootViewController = loadingViewController | |
self.window?.makeKeyAndVisible() | |
app.window = self.window | |
return true | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment