Class: AppDelegate

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#dataObject

Returns the value of attribute data.



2
3
4
# File 'app/app_delegate.rb', line 2

def data
  @data
end

#imageObject

Returns the value of attribute image.



2
3
4
# File 'app/app_delegate.rb', line 2

def image
  @image
end

Instance Method Details

#application(application, didFinishLaunchingWithOptions: launchOptions) ⇒ Object



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

def application(application, didFinishLaunchingWithOptions:launchOptions)
  self.image = UIImage.imageNamed("test")
  self.data = UIImagePNGRepresentation(self.image)
  true
end