Class: AppDelegate
Instance Method Summary collapse
Instance Method Details
#application(application, didFinishLaunchingWithOptions: launchOptions) ⇒ Object
6 7 8 9 10 11 12 13 |
# File 'app/app_delegate.rb', line 6 def application(application, didFinishLaunchingWithOptions:launchOptions) return true if RUBYMOTION_ENV == 'test' @window = UIWindow.alloc.initWithFrame(UIScreen.mainScreen.bounds) ctlr = MyController.new @window.rootViewController = ctlr @window.makeKeyAndVisible end |