Skip to content

Instantly share code, notes, and snippets.

@tomasharkema
Created June 7, 2019 07:52
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 tomasharkema/a4318a121e8f2a605cd05a2b296070a8 to your computer and use it in GitHub Desktop.
Save tomasharkema/a4318a121e8f2a605cd05a2b296070a8 to your computer and use it in GitHub Desktop.
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
var window: UIWindow?
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? = nil) -> Bool {
// ...
window = UIWindow(bounds: UIScreen.main.bounds)
window.rootViewController = PostNLRootViewController()
window.makeKeyAndVisible()
// ...
return true
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment