1. Delete the storyboard (your first step to the light side, storyboards are truly awful).

delete_storyboard

 

2. In Info.plist, delete the line Main Storyboard file base name

screen-shot-2017-10-14-at-9-44-43-am

3. In the AppDelegate, modify the didFinishLaunchingWithOptions function to make your view controller the root view controller of the window, and then make the window visible.

func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
    
    let vc = ViewController()

    window = window = UIWindow(frame: UIScreen.main.bounds)
    window?.rootViewController = vc
    window?.makeKeyAndVisible()
    
    return true
}
0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *