Summary: This change applies all Arcanist recommended lint changes, which amounts to changing copyright headers and some cases of whitespace changes. Reviewed By: yungsters Differential Revision: D40060899 fbshipit-source-id: b62f9472e6ef58a3fc3d22eed661578a2635cb1f
27 lines
834 B
Swift
27 lines
834 B
Swift
/*
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
import Foundation
|
|
import UIKit
|
|
|
|
@UIApplicationMain
|
|
class AppDelegate: UIResponder, UIApplicationDelegate {
|
|
var window: UIWindow?
|
|
|
|
func applicationDidFinishLaunching(_ application: UIApplication) {
|
|
self.window = UIWindow(frame: UIScreen.main.bounds)
|
|
if let window = self.window {
|
|
let navigationController = UINavigationController(rootViewController: ExamplesViewController())
|
|
navigationController.navigationBar.isTranslucent = false
|
|
|
|
window.rootViewController = navigationController
|
|
window.backgroundColor = .white
|
|
window.makeKeyAndVisible()
|
|
}
|
|
}
|
|
}
|