mirror of
https://github.com/TextureGroup/Texture.git
synced 2026-04-07 19:17:39 +00:00
* Upgrade Xcode * Update examples for new cocoapods / swift * Fix carthage mode in build.sh
27 lines
788 B
Swift
27 lines
788 B
Swift
//
|
|
// AppDelegate.swift
|
|
// Texture
|
|
//
|
|
// Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
|
|
// Changes after 4/13/2017 are: Copyright (c) Pinterest, Inc. All rights reserved.
|
|
// Licensed under Apache 2.0: http://www.apache.org/licenses/LICENSE-2.0
|
|
//
|
|
|
|
import UIKit
|
|
|
|
@UIApplicationMain
|
|
class AppDelegate: UIResponder, UIApplicationDelegate {
|
|
|
|
var window: UIWindow?
|
|
|
|
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
|
|
let window = UIWindow(frame: UIScreen.main.bounds)
|
|
window.backgroundColor = UIColor.white
|
|
window.rootViewController = ViewController(nibName: nil, bundle: nil)
|
|
window.makeKeyAndVisible()
|
|
self.window = window
|
|
return true
|
|
}
|
|
|
|
}
|