Sha256: 63c25427ab418403519a135c4c5843aa552571461880fe6488af2d025eb0e0b8
Contents?: true
Size: 307 Bytes
Versions: 29
Compression:
Stored size: 307 Bytes
Contents
class UIImage def uiimage ; self ; end def uicolor(alpha=nil) color = UIColor.colorWithPatternImage(self) if not alpha.nil? color = color.colorWithAlphaComponent(alpha.to_f) end color end def uiimageview @uiimageview = UIImageView.alloc.initWithImage(self) end end
Version data entries
29 entries across 29 versions & 1 rubygems