AppDelegate.swift 679 B

12345678910111213141516171819202122232425
  1. //
  2. // AppDelegate.swift
  3. // Snappy
  4. //
  5. // Created by Jonas Budelmann on 25/07/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. self.window!.rootViewController = ViewController()
  15. self.window!.backgroundColor = UIColor.whiteColor()
  16. self.window!.makeKeyAndVisible()
  17. return true
  18. }
  19. }