News for hackers. Stuff that matters.
Re:Using RubyMotion to Build JavaScript Based iOS Apps by jcromartie on Thursday August 23, 2012 @11:47AM (#4422988)
Sorry, Ruby fans. There is absolutely nothing special about this. It's a basic iOS app that just bootstraps Cordova.

There are no Ruby idioms in use that save code over the Objective-C implementation. There are no blocks, map, inject, hash or array literals, etc.. Sure, you don't have to write a .h file.

The Ruby code here could be translated line-for-line into Objective-C and built with the standard toolchain, without another $200 toolchain. And guess what? You still need to know the Objective-C API to write the app delegate and view controllers.

RubyMotion makes no sense here.

Re:Using RubyMotion to Build JavaScript Based iOS Apps by wprater on Thursday August 23, 2012 @04:17PM (#4424588)
There was no attempt made to use Ruby idioms in the article. I think you're missing the point. It was merely an example how one can use alternate build tools, while extending their JavaScript or Cordova based app using Ruby over Objective-C. Not everyone is a fan of Xcode nor Obj-C. Lots of education about the tools was included to help one get on their way; the intention was not to be craft a reason as to why Ruby idioms can make a developer more productive.

RubyMotion does make sense here, if your goals are as described in the article.

Re:Using RubyMotion to Build JavaScript Based iOS Apps by jerrya on Thursday August 23, 2012 @04:49PM (#4424766)
Sometimes I doubt your commitment to Ruby Motion.