mirror of https://github.com/SnapKit/SnapKit
26 lines
679 B
Swift
26 lines
679 B
Swift
//
|
|
// AppDelegate.swift
|
|
// Snappy
|
|
//
|
|
// Created by Jonas Budelmann on 25/07/14.
|
|
// Copyright (c) 2014 Jonas Budelmann. All rights reserved.
|
|
//
|
|
|
|
import UIKit
|
|
|
|
@UIApplicationMain
|
|
class AppDelegate: UIResponder, UIApplicationDelegate {
|
|
|
|
var window: UIWindow?
|
|
|
|
func application(application: UIApplication!, didFinishLaunchingWithOptions launchOptions: NSDictionary!) -> Bool {
|
|
|
|
self.window = UIWindow(frame: UIScreen.mainScreen().bounds)
|
|
self.window!.rootViewController = ViewController()
|
|
self.window!.backgroundColor = UIColor.whiteColor()
|
|
self.window!.makeKeyAndVisible()
|
|
return true
|
|
}
|
|
}
|
|
|