1 AppDelegate.swift
- //
- // AppDelegate.swift
- // QQDemo
- //
- // Created by 赵超 on 14-6-21.
- // Copyright (c) 2014年 赵超. 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)
- // Override point for customization after application launch.
- self.window!.backgroundColor = UIColor.whiteColor()
- self.window!.makeKeyAndVisible()
- var root=RootViewController()
- self.window!.rootViewController=root
- return true