AppDelegate.swift 870 B

12345678910111213141516171819202122232425262728
  1. //
  2. // AppDelegate.swift
  3. // ExpressiveLayout
  4. //
  5. // Created by Jonas Budelmann on 5/06/14.
  6. // Copyright (c) 2014 Jonas Budelmann. All rights reserved.
  7. //
  8. import UIKit
  9. @UIApplicationMain
  10. class AppDelegate: UIResponder, UIApplicationDelegate {
  11. var window: UIWindow?
  12. func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: NSDictionary?) -> Bool {
  13. self.window = UIWindow(frame: UIScreen.mainScreen().bounds)
  14. // Override point for customization after application launch.
  15. let navigationController = UINavigationController(rootViewController: RootViewController())
  16. self.window!.rootViewController = navigationController
  17. self.window!.backgroundColor = UIColor.whiteColor()
  18. self.window!.makeKeyAndVisible()
  19. return true
  20. }
  21. }