Skip to content

Instantly share code, notes, and snippets.

@satomixx
Created February 11, 2016 06:54
Show Gist options
  • Save satomixx/11cac33f56252454de8f to your computer and use it in GitHub Desktop.
Save satomixx/11cac33f56252454de8f to your computer and use it in GitHub Desktop.
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
var window: UIWindow?
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
let rootViewController = MainTableViewController()
self.window = UIWindow(frame: UIScreen.mainScreen().bounds)
self.window?.rootViewController = rootViewController
self.window?.makeKeyAndVisible()
return true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment