This is a single archived entry from Stefan Tilkov’s blog. For more up-to-date content, check out my author page at INNOQ, which has more information about me and also contains a list of published talks, podcasts, and articles. Or you can check out the full archive.

ADC—Developing Cocoa Applications Using MacRuby

Stefan Tilkov,

Apple Developer Connection:

Ruby is a dynamic programming language that, over the last few years, has enjoyed enormous popularity, thanks in part to the Rails web framework. Now with MacRuby, you can create Mac OS X applications with Ruby while maintaining the peformance benefits of a fully fledged Cocoa application. This article will show you how to get started with MacRuby and build your first sample application.

Interesting, including syntax extensions for Objective C's Smalltalk-style method names.

On October 20, 2008 10:40 PM, Piers Cawley said:

I’m pretty sure that that’s not MacRuby specific, but part of Ruby 1.9.

On October 22, 2008 10:38 PM, Mathias Meyer said:

It’s in fact part of Ruby 1.9, it’s another syntax for hashes (initially intended to be named parameters) but together with Cocoa you get the style of named parameters that Objective-C already has. And that’s just neat. If there’s one thing that’s ugly about RubyCocoa as it is now, it’s method calls like insertItemWithTitle_action_keyEquivalent_atIndex_.