Skip to content
Snippets Groups Projects
AppDelegate.swift 568 B
Newer Older
Bruno Muniz's avatar
Bruno Muniz committed
import UIKit
Ahmed Shehata's avatar
Ahmed Shehata committed
import LaunchFeature
Bruno Muniz's avatar
Bruno Muniz committed
public class AppDelegate: UIResponder, UIApplicationDelegate {
Bruno Muniz's avatar
Bruno Muniz committed
  public var window: UIWindow?

  public func application(
    _ application: UIApplication,
    didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
  ) -> Bool {
    let navController = UINavigationController(rootViewController: LaunchController())
    window = UIWindow(frame: UIScreen.main.bounds)
    window?.rootViewController = RootViewController(navController)
    window?.makeKeyAndVisible()
Bruno Muniz's avatar
Bruno Muniz committed
    return true
  }