Class: TestSuiteDelegate

Inherits:
Object
  • Object
show all
Defined in:
lib/map-kit-wrapper/test_suite_delegate.rb

Overview

Dummy class used for tests

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#windowObject

Attribute accessor



8
9
10
# File 'lib/map-kit-wrapper/test_suite_delegate.rb', line 8

def window
  @window
end

Instance Method Details

#application(application, didFinishLaunchingWithOptions: launchOptions) ⇒ Object

Init App



13
14
15
16
17
# File 'lib/map-kit-wrapper/test_suite_delegate.rb', line 13

def application(application, didFinishLaunchingWithOptions: launchOptions)
  @window = UIWindow.alloc.initWithFrame(UIScreen.mainScreen.bounds)
  @window.rootViewController = UIViewController.alloc.init
  true
end