Skip to content

Instantly share code, notes, and snippets.

@chelseatroy
Created May 8, 2016 23:38
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 chelseatroy/c09f7aff35d49d050512ce0142dd0fa9 to your computer and use it in GitHub Desktop.
Save chelseatroy/c09f7aff35d49d050512ce0142dd0fa9 to your computer and use it in GitHub Desktop.
Code-Only UI Demonstration: AppDelegate
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
// Override point for customization after application launch.
//let splitViewController = self.window!.rootViewController as! UISplitViewController
//splitViewController.delegate = self
let window = UIWindow(frame: UIScreen.mainScreen().bounds)
self.window = window
window.rootViewController = MasterViewController()
window.makeKeyAndVisible()
return true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment