MacRuby takes the “almost” out of “almost a desktop experience.” With MacRuby, you can write real Mac OS X desktop applications with Ruby. Try it with our Meet MacRuby tutorial!
MacRuby is a Ruby interpreter built by Apple on top of Objective-C. Unlike other scripting interfaces to the Cocoa frameworks, MacRuby objects are fully functional peers of Objective-C objects with no translation layer. This means that your Ruby applications can do almost anything a compiled application could do, and at near-native speed.
In this MacRuby tutorial, you’ll build a functional Twitter client from scratch, learning about both Cocoa and MacRuby along the way. You’ll design an application graphically with Interface Builder and learn about the major design patterns in Cocoa applications. You’ll work with network resources, parse XML, and POST data back to the server so you’ll be ready to write your own web-enabled desktop applications.
This screencast covers
Watching this video tutorial will give you a head start toward becoming familiar and confident with programming Cocoa applications on the Mac with Ruby!
A future screencast in this series will cover the still-in-development HotCocoa frameworks for MacRuby.
Assumes basic knowledge of Ruby. MacRuby currently runs on Mac OS X only.
Revision 1 (Notes) · Updated: May 19, 2009 · Length: 73 min · 188 MB