This directory contains example applications written using MacRuby and using Cocoa and other Mac OS X frameworks. Below is a list of some of the examples and what each demonstrates:
ABPresenceAddressBook and InstantMessage frameworks, NSTableView, notifications
AnimatingViewsNSView animations, NSBox
CircleViewNSView, event handling, NSAffineTransform, text layout and drawing
DotViewNSView, event handling, drawing
EmbedMacRubyEmbedding the MacRuby framework in a pure Cocoa application
FlickrDemoImageKit and PubSub frameworks, NSTableView, NSToolbar
MacOnRackWebView, Rack (Ruby WebServer Interface)
OutlineViewNSOutlineView
PagePackerPDFKit framework, NSView, dragging, scripting, printing, undo manager, notifications
PathDemoPath operations (circles, rectangles, Bézier paths)
PhileasFrog2D video game (CALayer, CATransaction, CABasicAnimation, Cocoa wrapper, key controls, NSSound, NSTimer, CIFilter)
RoundTransparentWindowCustom-shaped NSWindow with transparent window content.
SketchNSDocument architecture, NSUndoManager, NSBezierPath.
SkreenicsQTKit, NSOperation, NSUserDefaults, NSValueTransformer, Drag and drop, Key-Value coding/observing, custom views / cells.
SuruInterface Builder, Core Data
ViewModelDemoNSView, NSTimer
YamlTableNSTableView, YAML, NSAlert, Sheet
You will also find some standalone scripts in the Scripts directory. These files are meant to be run from the command line.
Several DTrace scripts are available in the DTrace directory. These scripts should be executed from the command line.
The source code of all MacRuby examples, unless specified, is covered by the Ruby license, which can be found online at: www.ruby-lang.org/en/LICENSE.txt