Skip to content

Instantly share code, notes, and snippets.

@uberbruns
Last active August 29, 2015 14:07
Show Gist options
  • Save uberbruns/e3e04be8497deea0203f to your computer and use it in GitHub Desktop.
Save uberbruns/e3e04be8497deea0203f to your computer and use it in GitHub Desktop.
import UIKit
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
var window: UIWindow?
let rootViewController = RootViewController()
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
let window = UIWindow(frame: UIScreen.mainScreen().bounds)
window.rootViewController = rootViewController;
window.makeKeyAndVisible()
self.window = window
return true;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment