Class: AppDelegate

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

Overview

for testing

Instance Method Summary collapse

Instance Method Details

#application(application, didFinishLaunchingWithOptions: launchOptions) ⇒ Object



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

def application(application, didFinishLaunchingWithOptions: launchOptions)  
  true  
end

#test_imageObject



9
10
11
12
13
# File 'app/app_delegate.rb', line 9

def test_image
  @path = "#{NSBundle.mainBundle.resourcePath}/sample.jpg"
  @url = NSURL.fileURLWithPath(@path)
  cg_image_source = CGImageSourceCreateWithURL(@url, nil);
end