RubyObjC Examples.
Here are a few examples to help you get started with RubyObjC.
|
RubyRocks (revisited)posted January 1, 2007
A simple arcade game drawn with Quartz graphics. (updated February 16, 2007 to use imethod/cmethod declaration syntax) |
|
RaiseManposted January 1, 2007
A pure-Ruby implementation of a popular Objective-C example. (updated February 16, 2007 to use imethod/cmethod declaration syntax) |
|
MailDemoposted January 2, 2007
A pure-Ruby implementation of Scott Stevenson's Cocoa Bindings tutorial.
(updated February 16, 2007 to use imethod/cmethod declaration syntax) |
|
The Maze Gameposted June 10, 2007
A toy for one or two players.
Requires RubyObjC-0.4.0 or later. |
|
Ruby ScreenSaverposted June 10, 2007
In homage to IronCoder V, here is a RubyObjC example of a Cocoa screen saver.
Requires RubyObjC-0.4.0 or later. |
|
Ruby Console Pluginposted June 10, 2007
An InputManager plug-in that embeds a RubyObjC console in any Cocoa application.
Requires RubyObjC-0.4.0 or later. I hear this won't work in Leopard. |
To build these examples, you must have Ruby and Rake installed on your system. Also, don't forget to install RubyObjC! Instructions are at the top of the sidebar. The completed applications are universal binaries that can be run on any Mac OS X system (tested on 10.4.8 and up).