4 ms·
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
by jcromartie 14y ago
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.
- wprater 14y agoThere 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.
- jerrya 14y agoSometimes I doubt your commitment to Ruby Motion.