Menu
  • HOME
  • TAGS

Selectable cells in UITableView with ProMotion

rubymotion,rubymotion-promotion

You don't want to memoize the table data. I've created a pull request with the fix: https://github.com/robypez/rm_quiz/pull/1 Hard to summarize here, although I know Stackoverflow doesn't like us relying on links....

Using asynchronously obtained data in Motion-Kit layouts

ios,rubymotion,rubymotion-promotion

I'd have to see how you are instantiating the layout, but even without that I have a guess: you should consider supporting a fetching location message that is dismissed when the data is available. The workflow would look something like this: create your layout without providing the location data. It...

Simplest way to set a background image on a ProMotion screen?

rubymotion,rmq,rubymotion-promotion

I do exactly this in RedPotion for my RubyTrivia app. Simply set your root_view style for your given RedPotion stylesheet. In this case I'm setting the background image to an image resource. # In an RMQ Stylesheet def root_view(st) st.background_image = image.resource('retina_wood') end # In a ProMotion Screen def on_load...

ProMotion Screen lag

rubymotion,rubymotion-promotion

After some experiments, I figured it out. There are more than one way to solve it: 1) With on_load. The key here is to tell the layout what the root view is. Then it can figure out correctly how to do the back animation properly. If you don't give it...