Skip to content

Instantly share code, notes, and snippets.

@akfreas
Created April 8, 2019 21:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save akfreas/b2f802e90b63cee9263ffa66e9c0cced to your computer and use it in GitHub Desktop.
Save akfreas/b2f802e90b63cee9263ffa66e9c0cced to your computer and use it in GitHub Desktop.
SimpleCounter AppDelegate
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
}
....
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment