rubymotion-community / sugarcube

Some sugar for your cocoa. RubyMotion helpers.
Other
422 stars 66 forks source link

Image overlay doesn't work anymore #106

Closed holgersindbaek closed 10 years ago

holgersindbaek commented 10 years ago

It just throws an error:

uiimage.rb:447:in `overlay:': undefined local variable or method `new_image' for #<UIImage:0x10a84c60> (NameError)

When I try to do something like this:

"success.png".uiimage.overlay(UIColor.redColor)

@colinta You're the one who last made a change to it. Do you have a guess on what it might be?

holgersindbaek commented 10 years ago

@colinta Sent a PR - https://github.com/rubymotion/sugarcube/pull/107.