SnapKit/SnappyExample/AppDelegate.swift

26 lines
679 B
Swift
Raw Normal View History

2014-06-06 11:42:44 +08:00
//
// AppDelegate.swift
2014-07-25 12:24:17 +08:00
// Snappy
2014-06-06 11:42:44 +08:00
//
2014-07-25 12:24:17 +08:00
// Created by Jonas Budelmann on 25/07/14.
2014-06-06 11:42:44 +08:00
// Copyright (c) 2014 Jonas Budelmann. All rights reserved.
//
import UIKit
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
var window: UIWindow?
2014-07-25 12:24:17 +08:00
func application(application: UIApplication!, didFinishLaunchingWithOptions launchOptions: NSDictionary!) -> Bool {
2014-06-06 11:42:44 +08:00
2014-07-25 12:24:17 +08:00
self.window = UIWindow(frame: UIScreen.mainScreen().bounds)
self.window!.rootViewController = ViewController()
2014-06-06 11:42:44 +08:00
self.window!.backgroundColor = UIColor.whiteColor()
self.window!.makeKeyAndVisible()
return true
}
}