infinitered / redpotion

We believe iPhone development should be clean, scalable, and fast with a language that developers not only enjoy, but actively choose. With the advent of Ruby for iPhone development the RubyMotion community has combined and tested the most active and powerful gems into a single package called RedPotion
MIT License
233 stars 40 forks source link

Add a remote_image method that can take a closure #169

Closed willem-h closed 7 years ago

willem-h commented 8 years ago

Currently remote_image can only set the URL of a remote image, keeping the inside of the object a deep dark cave. This makes it hard to tell when an image has finished loading as there's no way we can hook into it.

Having a hook like this is useful for UX around loading images so that a spinner can be displayed for example.

willem-h commented 8 years ago

https://github.com/infinitered/redpotion/pull/168

willem-h commented 7 years ago

168 merged by @andrewhavens