How to start a project without Storyboard

Xcode 6.3.2 — iOS 8.3 — Swift 1.2
  1. In the AppDelegate.swift, add this code:
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
  window = UIWindow(frame: UIScreen.mainScreen().bounds)
  if let window = window {
// create a view controller
    window.rootViewController = // assign the view controller
window.makeKeyAndVisible()
}

return true
}

2. Remove the MainStoryboard.storyboard file from the project.

3. Clear out the Main Interface input field in the target’s General, Deployment Info section.