Skip to content

Instantly share code, notes, and snippets.

@Bodacious
Created February 7, 2017 12:47
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 Bodacious/9ecf59100e5095368f12407b58290fce to your computer and use it in GitHub Desktop.
Save Bodacious/9ecf59100e5095368f12407b58290fce to your computer and use it in GitHub Desktop.
Empty app delegate
class AppDelegate
def window
@window ||= UIWindow.alloc.initWithFrame(UIScreen.mainScreen.bounds)
end
def application(application, didFinishLaunchingWithOptions:launchOptions)
window.rootViewController = UIViewController.alloc.init
window.makeKeyAndVisible
true
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment