mirror of
https://github.com/Instagram/IGListKit
synced 2026-05-06 06:58:26 +00:00
Summary: ## Changes in this pull request ### Checklist - [x] All tests pass. Demo project builds and runs. - [x] I added tests, an experiment, or detailed why my change isn't tested. - [x] I added an entry to the `CHANGELOG.md` for any breaking changes, enhancements, or bug fixes. - [x] I have reviewed the [contributing guide](https://github.com/Instagram/IGListKit/blob/master/.github/CONTRIBUTING.md) Pull Request resolved: https://github.com/Instagram/IGListKit/pull/1453 Reviewed By: lorixx Differential Revision: D23836038 Pulled By: joetam fbshipit-source-id: 8245415992a5b1ed49f67ebfcf9f85a2745a8042
24 lines
771 B
Swift
24 lines
771 B
Swift
/*
|
|
* 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.
|
|
*/
|
|
|
|
import UIKit
|
|
|
|
@UIApplicationMain
|
|
class AppDelegate: UIResponder, UIApplicationDelegate {
|
|
|
|
var window: UIWindow?
|
|
|
|
func application(_ application: UIApplication,
|
|
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
|
|
window = UIWindow(frame: UIScreen.main.bounds)
|
|
window?.rootViewController = UINavigationController(rootViewController: DemosViewController())
|
|
window?.makeKeyAndVisible()
|
|
UICollectionView.appearance().backgroundColor = UIColor.background
|
|
return true
|
|
}
|
|
|
|
}
|