diff options
author | Nicholas Tay <nick@windblume.net> | 2022-07-18 11:17:39 +1000 |
---|---|---|
committer | Nicholas Tay <nick@windblume.net> | 2022-07-18 11:17:39 +1000 |
commit | 1f0dae4271c835276a57652f8ed27ec9bee4ccb6 (patch) | |
tree | df094deefae45172b6ec3c1b8b257e3f379f963c /foray/SceneDelegate.swift | |
parent | 338256206f5e11d7e21a714dedb461ae89281526 (diff) | |
download | forayios-master.tar.gz forayios-master.tar.bz2 forayios-master.zip |
In case we need it later
Diffstat (limited to 'foray/SceneDelegate.swift')
-rw-r--r-- | foray/SceneDelegate.swift | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/foray/SceneDelegate.swift b/foray/SceneDelegate.swift index 1aabcd2..ed11dfe 100644 --- a/foray/SceneDelegate.swift +++ b/foray/SceneDelegate.swift @@ -20,13 +20,13 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate { guard let windowScene = (scene as? UIWindowScene) else { return } let nav = UINavigationController() - - self.coordinator = ForayCoordinator(navigationController: nav) - self.coordinator?.start() - - self.window = UIWindow(windowScene: windowScene) - self.window?.rootViewController = nav - self.window?.makeKeyAndVisible() + + window = UIWindow(windowScene: windowScene) + window?.rootViewController = nav + window?.makeKeyAndVisible() + + coordinator = ForayCoordinator(window: window, navigationController: nav) + coordinator?.start() } func sceneDidDisconnect(_ scene: UIScene) { |