Created
May 8, 2016 23:38
-
-
Save chelseatroy/c09f7aff35d49d050512ce0142dd0fa9 to your computer and use it in GitHub Desktop.
Code-Only UI Demonstration: AppDelegate
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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