Last active
December 30, 2015 09:09
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class AppDelegate | |
def application(application, didFinishLaunchingWithOptions:launchOptions) | |
setup_window | |
end | |
def window | |
@window ||= UIWindow.alloc.initWithFrame(UIScreen.mainScreen.bounds) | |
end | |
private | |
def setup_window | |
window.rootViewController = UIViewController.new | |
window.makeKeyAndVisible | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment