Sha256: 8fee886bdcdf3b5af894daa7e201e92fd1fb6869b9cb5b5ca0bae9ba21692584

Contents?: true

Size: 197 Bytes

Versions: 54

Compression:

Stored size: 197 Bytes

Contents

class NSData

  # @return [UIImage]
  def uiimage(scale=nil)
    if scale
      return UIImage.imageWithData(self, scale:scale)
    else
      return UIImage.imageWithData(self)
    end
  end

end

Version data entries

54 entries across 54 versions & 1 rubygems

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