Skip to content

Instantly share code, notes, and snippets.

@akfreas
Created April 8, 2019 21:49
Show Gist options
  • Select an option

  • Save akfreas/b2f802e90b63cee9263ffa66e9c0cced to your computer and use it in GitHub Desktop.

Select an option

Save akfreas/b2f802e90b63cee9263ffa66e9c0cced to your computer and use it in GitHub Desktop.

Revisions

  1. akfreas created this gist Apr 8, 2019.
    14 changes: 14 additions & 0 deletions AppDelegate.swift
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,14 @@
    class AppDelegate: UIResponder, UIApplicationDelegate {

    var window: UIWindow? = UIWindow(frame: UIScreen.main.bounds)


    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {

    window?.rootViewController = CounterViewController()
    window?.makeKeyAndVisible()

    return true
    }

    ....