lib/sugarcube/uiimage.rb in sugarcube-0.2.3 vs lib/sugarcube/uiimage.rb in sugarcube-0.2.5

- old
+ new

@@ -1,7 +1,5 @@ - - class UIImage def uiimage ; self ; end def uicolor(alpha=nil) @@ -10,7 +8,12 @@ color = color.colorWithAlphaComponent(alpha.to_f) end color end + + def uiimageview + @uiimageview = UIImageView.alloc.initWithImage(self) + end + end