iOS without storyboard


Programmatically/Code or NIB based layouts are a much better fit for projects that use version control (see merge conflicts) and make it much easier to reuse views.

Step 1: Delete Main Interface from Deployment Info Settings

Step 2: Delete the Main.storyboard file

Step 3: Manually prepare and set the window property in AppDelegate.swift

Step 3a: Create a new UIWindow to the main UIScreen bounds

Step 3b: Make your window “key”

Step 3c: Set your window rootViewController to the ViewController of your choice

Code: link