Skip to content

Instantly share code, notes, and snippets.

@itsaboutcode
Last active March 24, 2017 06:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save itsaboutcode/be86c4e88afa91f660a913a2eff4df74 to your computer and use it in GitHub Desktop.
Save itsaboutcode/be86c4e88afa91f660a913a2eff4df74 to your computer and use it in GitHub Desktop.
Start iOS application without storyboard
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
// Override point for customization after application launch.
window = UIWindow(frame: UIScreen.main.bounds)
window?.makeKeyAndVisible()
window?.rootViewController = UINavigationController(rootViewController: ViewController())
return true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment