Comment on "
Objective-C, Ruby and Python for Cocoa
"
by
Fredrik W
— Jan 11
I just wanted to make you aware of
MacRuby
which is an Apple project (if I recall correctly) that seamlessly bridges ruby 1.9 and cocoa together.
This means that they've gotten rid of casting between NSStrings and Ruby strings etc, which really speeds things up.
Since named parameters is an inherent feature of Ruby 1.9 you won't need to use hash literals as a replacement anymore. :)
I suggest you check out http://www.macruby.org/trac/wiki/MacRubyTutorial for some examples.
Back to "
Objective-C, Ruby and Python for Cocoa
"
Copyright © Scott Stevenson 2004-2015
by Fredrik W — Jan 11
This means that they've gotten rid of casting between NSStrings and Ruby strings etc, which really speeds things up.
Since named parameters is an inherent feature of Ruby 1.9 you won't need to use hash literals as a replacement anymore. :)
I suggest you check out http://www.macruby.org/trac/wiki/MacRubyTutorial for some examples.