Reputation: 5813
I've just gotten RubyMotion to pursue and idea. I'm trying to figure out how to "write once, run anywhere" with it - it looks like it could be possible with some appropriate abstractions, etc, but I'm not finding any guidance on the web.
Is there a known way to do this?
Upvotes: 2
Views: 255
Reputation: 3659
It's still so early on in, with the android support that is, we haven't had much time to tackle this. I think that most of the sentiment in the rubymotion leans towards writing truly native apps, which drastically minimizes the amount that can be shared.
On the other hand, Canadian has shown that code can be shared across platforms, but when i looked at their "forms" software, I did not get the feeling that it would be feasible to build a consumer application that had native look and feel on both platforms with the same code base.
For me, the goal is to write gems and tools that have the same api on both OSes, but maintain independent Ui, and share the business/model layer across platforms.
Upvotes: 1