2019-12-19 17:32:49 +00:00
|
|
|
/*
|
|
|
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
|
|
|
*
|
|
|
|
|
* This source code is licensed under the MIT license found in the
|
|
|
|
|
* LICENSE file in the root directory of this source tree.
|
2016-09-07 22:37:59 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
import UIKit
|
|
|
|
|
|
|
|
|
|
@UIApplicationMain
|
|
|
|
|
class AppDelegate: UIResponder, UIApplicationDelegate {
|
|
|
|
|
|
|
|
|
|
var window: UIWindow?
|
|
|
|
|
|
2017-05-16 14:30:08 +00:00
|
|
|
func application(_ application: UIApplication,
|
2019-12-19 05:50:02 +00:00
|
|
|
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
|
2016-09-07 22:37:59 +00:00
|
|
|
window = UIWindow(frame: UIScreen.main.bounds)
|
|
|
|
|
window?.rootViewController = UINavigationController(rootViewController: DemosViewController())
|
|
|
|
|
window?.makeKeyAndVisible()
|
2020-10-03 08:37:52 +00:00
|
|
|
UICollectionView.appearance().backgroundColor = UIColor.background
|
2016-09-07 22:37:59 +00:00
|
|
|
return true
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|