Associated article: Examining RubyCocoa
Tags: Open Source
Published source code accompanying the article by Chris Thomas in which he examines the Cocoa application framework for the Macintosh OS X operating system and RubyCocoa, which provides Ruby extensions to Cocoa. Also see RUBYCOCO.ZIP.
Examining RubyCocoa by Chris Thomas Example 1: (a) array = [[NSMutableArray alloc] init]; (b) array = OSX::NSMutableArray.alloc.init (c) [array release]; Example 2: (a) [dictionary setObject:object forKey:key]; (b) dictionary.setObject_forKey_( object, key ) (c) dictionary.setObject_forKey( object, key ) (d) ...