From 3fc3903758eaad8c448238b4e80241a68242c260 Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Fri, 28 Jun 2019 13:05:19 -0500 Subject: [PATCH] Change to use helper property --- iOS/SceneDelegate.swift | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/iOS/SceneDelegate.swift b/iOS/SceneDelegate.swift index b95da416d..b9ec7d4de 100644 --- a/iOS/SceneDelegate.swift +++ b/iOS/SceneDelegate.swift @@ -18,8 +18,7 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate, UISplitViewControllerDe window!.tintColor = AppAssets.netNewsWireBlueColor - let storyboard = UIStoryboard(name: "Main", bundle: .main) - let splitViewController = storyboard.instantiateInitialViewController() as! UISplitViewController + let splitViewController = UIStoryboard.main.instantiateInitialViewController() as! UISplitViewController splitViewController.delegate = self window!.rootViewController = splitViewController