Class: AppDelegate

Inherits:
Object
  • Object
show all
Defined in:
app/app_delegate.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#windowObject

Returns the value of attribute window.



2
3
4
# File 'app/app_delegate.rb', line 2

def window
  @window
end

Instance Method Details

#application(application, didFinishLaunchingWithOptions: launchOptions) ⇒ Object



4
5
6
7
8
# File 'app/app_delegate.rb', line 4

def application(application, didFinishLaunchingWithOptions:launchOptions)
  @window = UIWindow.alloc.initWithFrame(UIScreen.mainScreen.bounds)
  @window.rootViewController = UINavigationController.alloc.initWithRootViewController(MainViewController.alloc.init)
  @window.makeKeyAndVisible
end