Class: AppDelegate
- Inherits:
-
Object
- Object
- AppDelegate
- Defined in:
- app/app_delegate.rb
Overview
for testing
Instance Method Summary collapse
- #application(application, didFinishLaunchingWithOptions: launchOptions) ⇒ Object
- #test_image ⇒ Object
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_image ⇒ Object
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 |