mirror of
https://github.com/Instagram/IGListKit
synced 2026-05-12 03:48:45 +00:00
Summary: Swift 5 came out a while ago, we should definitely be targeting it. Reviewed By: lorixx Differential Revision: D19141252 fbshipit-source-id: d6f8fc5209e721a8b28e569855b5e3cc8b8c3431
31 lines
1.1 KiB
Swift
31 lines
1.1 KiB
Swift
/**
|
|
Copyright (c) Facebook, Inc. and its affiliates.
|
|
|
|
The examples provided by Facebook are for non-commercial testing and evaluation
|
|
purposes only. Facebook reserves all rights not expressly granted.
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
|
FACEBOOK BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
|
|
ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
*/
|
|
|
|
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()
|
|
return true
|
|
}
|
|
|
|
}
|