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



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

def application(application, didFinishLaunchingWithOptions:launchOptions)
  @window = Motion::Xray::XrayWindow.alloc.initWithFrame(UIScreen.mainScreen.bounds)
  ctlr = MyController.new
  first = UINavigationController.alloc.initWithRootViewController(ctlr)
  @window.rootViewController = first
  @window.makeKeyAndVisible

  Motion::Xray.register(Motion::Xray::SaveUIPlugin.new)

  true
end