Skip to content

Instantly share code, notes, and snippets.

@farhan-syed
Last active September 15, 2017 08:20
Show Gist options
  • Save farhan-syed/b627d0103266af63e5cc02d2eb436958 to your computer and use it in GitHub Desktop.
Save farhan-syed/b627d0103266af63e5cc02d2eb436958 to your computer and use it in GitHub Desktop.
class AppDelegate: UIResponder, UIApplicationDelegate {
var window: UIWindow?
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
// Override point for customization after application launch.
window = UIWindow(frame: UIScreen.main.bounds)
self.window?.rootViewController = viewController()
self.window?.makeKeyAndVisible()
return true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment