Class: AppDelegate
- Inherits:
-
Object
- Object
- AppDelegate
- Defined in:
- app/app_delegate.rb
Instance Attribute Summary collapse
-
#window ⇒ Object
Returns the value of attribute window.
Instance Method Summary collapse
Instance Attribute Details
#window ⇒ Object
Returns the value of attribute window.
3 4 5 |
# File 'app/app_delegate.rb', line 3 def window @window end |
Instance Method Details
#application(application, didFinishLaunchingWithOptions: launchOptions) ⇒ Object
5 6 7 8 9 10 11 12 13 |
# File 'app/app_delegate.rb', line 5 def application(application, didFinishLaunchingWithOptions:launchOptions) controller = RootViewController.alloc.init = UINavigationController.alloc.initWithRootViewController(controller) self.window = UIWindow.alloc.initWithFrame(UIScreen.mainScreen.bounds) self.window.rootViewController = self.window.makeKeyAndVisible true end |