Class: AppDelegate

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

Instance Method Summary collapse

Instance Method Details

#application(application, didFinishLaunchingWithOptions: launchOptions) ⇒ Object



3
4
5
6
7
8
9
10
11
12
13
# File 'app/app_delegate.rb', line 3

def application(application, didFinishLaunchingWithOptions:launchOptions)
  @window = UIWindow.alloc.initWithFrame(UIScreen.mainScreen.bounds)
  @view_controller = TestViewController.alloc.init
  @view_controller.view.backgroundColor = UIColor.grayColor
  @window.rootViewController = @view_controller
  @window.makeKeyAndVisible

  Debugmotion.start

  true
end