Sha256: 49eecb2b6b3e82ee656fedc5cc081c8a7bde7f33c5f4ecf7c88c0aeaab37d727

Contents?: true

Size: 219 Bytes

Versions: 66

Compression:

Stored size: 219 Bytes

Contents

class UIImage
  def uiimage ; self ; end

  # @return [UIImageView]
  def uiimageview
    UIImageView.alloc.initWithImage(self)
  end

  def width
    self.size.width
  end

  def height
    self.size.height
  end

end

Version data entries

66 entries across 66 versions & 1 rubygems

Version Path
sugarcube-4.0.0 lib/ios/sugarcube-ui/uiimage.rb
sugarcube-3.5.0 lib/ios/sugarcube-ui/uiimage.rb
sugarcube-3.4.2 lib/ios/sugarcube-ui/uiimage.rb
sugarcube-3.4.1 lib/ios/sugarcube-ui/uiimage.rb
sugarcube-3.4.0 lib/ios/sugarcube-ui/uiimage.rb
sugarcube-3.3.7 lib/ios/sugarcube-ui/uiimage.rb
sugarcube-3.3.6 lib/ios/sugarcube-ui/uiimage.rb
sugarcube-3.3.5 lib/ios/sugarcube-ui/uiimage.rb
sugarcube-3.3.4 lib/ios/sugarcube-ui/uiimage.rb
sugarcube-3.3.3 lib/ios/sugarcube-ui/uiimage.rb
sugarcube-3.3.2 lib/ios/sugarcube-ui/uiimage.rb
sugarcube-3.3.1 lib/ios/sugarcube-ui/uiimage.rb
sugarcube-3.3.0 lib/ios/sugarcube-ui/uiimage.rb
sugarcube-3.2.0 lib/ios/sugarcube-ui/uiimage.rb
sugarcube-3.1.1 lib/ios/sugarcube-ui/uiimage.rb
sugarcube-3.1.0 lib/ios/sugarcube-ui/uiimage.rb
sugarcube-3.0.8 lib/ios/sugarcube-ui/uiimage.rb
sugarcube-3.0.7 lib/ios/sugarcube-ui/uiimage.rb
sugarcube-3.0.6 lib/ios/sugarcube-ui/uiimage.rb
sugarcube-3.0.5 lib/ios/sugarcube-ui/uiimage.rb