This directory contains example applications written using MacRuby and using Cocoa and other Mac OS X frameworks.
Ruby Objective-C D
Switch branches/tags
Nothing to show
Clone or download
Permalink
Failed to load latest commit information.
ABPresence moved the files from MacRuby's repository Aug 4, 2012
AnimatingViews moved the files from MacRuby's repository Aug 4, 2012
CircleView moved the files from MacRuby's repository Aug 4, 2012
DTrace moved the files from MacRuby's repository Aug 4, 2012
DotView moved the files from MacRuby's repository Aug 4, 2012
EmbeddedMacRuby moved the files from MacRuby's repository Aug 4, 2012
FlickrDemo moved the files from MacRuby's repository Aug 4, 2012
MacOnRack moved the files from MacRuby's repository Aug 4, 2012
MarkdownViewer moved the files from MacRuby's repository Aug 4, 2012
OutlineView moved the files from MacRuby's repository Aug 4, 2012
PagePacker moved the files from MacRuby's repository Aug 4, 2012
PathDemo load CoreGraphics.framework because its location was changed at OSX 10.8 May 2, 2013
PhileasFrog load CoreGraphics.framework because its location was changed at OSX 10.8 May 2, 2013
RoundTransparentWindow moved the files from MacRuby's repository Aug 4, 2012
Scripts moved the files from MacRuby's repository Aug 4, 2012
Sketch moved the files from MacRuby's repository Aug 4, 2012
Skreenics moved the files from MacRuby's repository Aug 4, 2012
Suru moved the files from MacRuby's repository Aug 4, 2012
ViewModelDemo moved the files from MacRuby's repository Aug 4, 2012
YamlTable moved the files from MacRuby's repository Aug 4, 2012
README.rdoc moved the files from MacRuby's repository Aug 4, 2012
buildall.rb moved the files from MacRuby's repository Aug 4, 2012

README.rdoc

MacRuby Examples

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:

ABPresence

AddressBook and InstantMessage frameworks, NSTableView, notifications

AnimatingViews

NSView animations, NSBox

CircleView

NSView, event handling, NSAffineTransform, text layout and drawing

DotView

NSView, event handling, drawing

EmbedMacRuby

Embedding the MacRuby framework in a pure Cocoa application

FlickrDemo

ImageKit and PubSub frameworks, NSTableView, NSToolbar

MacOnRack

WebView, Rack (Ruby WebServer Interface)

OutlineView

NSOutlineView

PagePacker

PDFKit framework, NSView, dragging, scripting, printing, undo manager, notifications

PathDemo

Path operations (circles, rectangles, Bézier paths)

PhileasFrog

2D video game (CALayer, CATransaction, CABasicAnimation, Cocoa wrapper, key controls, NSSound, NSTimer, CIFilter)

RoundTransparentWindow

Custom-shaped NSWindow with transparent window content.

Sketch

NSDocument architecture, NSUndoManager, NSBezierPath.

Skreenics

QTKit, NSOperation, NSUserDefaults, NSValueTransformer, Drag and drop, Key-Value coding/observing, custom views / cells.

Suru

Interface Builder, Core Data

ViewModelDemo

NSView, NSTimer

YamlTable

NSTableView, 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