pivotallabs.com
29 Aug '12, 9pm
From the @pivotallabs blog: What I've learned about RubyMotion
I've been trying to learn RubyMotion recently, using Ruby to develop iOS appeals to me. I have no prior Objective-C or Cocoa API knowledge besides the basic HelloWorld. I've been using this tutorial and have learned more about Cocoa API faster using Ruby than with Objective-C. There is less boilerplate code that needs to be written for defining interfaces and implementations . The main takeaway of RubyMotion is that it is not your standard Ruby implementation. It is a Ruby runtime wrapped around the Objective-C runtime. All Ruby objects map directly to there corresponding Objective-C object -- Array to NSMutableArray, Hash to NSMutableDictionary, etc. RubyMotion does not come with the standard library as other flavors, you are relying on Cocoa API as the standard library. There is even a difference in Ruby syntax to map directly to Objective-C. The Objective-C language doe...
Full article:
http://pivotallabs.com/users/jt/blog/articles/2268-what-i...