/
About MacRuby Examples.rtf
102 lines (86 loc) · 3.12 KB
/
About MacRuby Examples.rtf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
{\rtf1\ansi\ansicpg1252\cocoartf1038\cocoasubrtf250
{\fonttbl\f0\fswiss\fcharset0 Helvetica;\f1\fnil\fcharset0 LucidaGrande;\f2\froman\fcharset0 Times-Roman;
\f3\fnil\fcharset0 Monaco;}
{\colortbl;\red255\green255\blue255;}
\vieww18720\viewh15120\viewkind0
\pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\li1120\fi-400\ri140\ql\qnatural
\f0\fs30 \cf0 \
\pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\li1120\fi-400\ri140\ql\qnatural
\f1\b\fs48 \cf0 MacRuby Examples\
\pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\li960\fi-20\ri140\ql\qnatural
\f2\b0\fs28 \cf0 \
\pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\li960\fi-20\ri-1180\ql\qnatural
\f1\fs24 \cf0 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:\
\
\pard\tx960\tx5040\tx5760\tx6720\tx7680\tx8640\tx9600\li5040\fi-4100\ri-1180\ql\qnatural
\b \cf0 ABPresence
\b0 AddressBook and InstantMessage frameworks, NSTableView, notifications
\b \
\
AnimatingViews
\b0 NSView animations, NSBox\
\
\b CircleView
\b0 NSView, event handling, NSAffineTransform, text layout and drawing\
\
\b DotView
\b0 NSView, event handling, drawing\
\
\b EmbedMacRuby
\b0 Embedding the MacRuby framework in a pure Cocoa application\
\
\b FlickrDemo
\b0 ImageKit and PubSub frameworks, NSTableView, NSToolbar\
\
\b MacOnRack
\b0 WebView, Rack (Ruby WebServer Interface)
\b \
\
OutlineView
\b0 NSOutlineView\
\
\b PagePacker
\b0 PDFKit framework, NSView, dragging, scripting, printing, undo manager, notifications\
\
\b PathDemo
\b0 Path operations (circles, rectangles, B\'e9zier paths)\
\
\b PhileasFrog
\b0 2D video game (CALayer,
\f3 \CocoaLigature0 CATransaction, CABasicAnimation,
\f1 \CocoaLigature1 \
Cocoa wrapper, key controls, NSSound,\
NSTimer,
\f3 \CocoaLigature0 CIFilter)
\f1 \CocoaLigature1 \
\
\b RoundTransparentWindow
\b0 Custom-shaped NSWindow with transparent window content.\
\
\b ViewModelDemo
\b0 NSView, NSTimer\
\
\b YamlTable
\b0 NSTableView, YAML, NSAlert, Sheet\
\
The
\b HotCocoa
\b0 directory contains examples for the MacRuby's HotCocoa\
library, which aims at making Cocoa development easier for Ruby\
developers. \
\
You will also find some standalone scripts in the
\b Scripts
\b0 directory. These \
files are meant to be run from the command line.\
\pard\tx960\tx4320\tx5760\tx6720\tx7680\tx8640\tx9600\li4300\fi-3360\ri-1180\ql\qnatural
\cf0 \
Several DTrace scripts are available in the
\b DTrace
\b0 directory. These scripts\
should be executed from the command line.\
\
\pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\li960\fi-20\ri-1180\ql\qnatural
\cf0 The source code of all MacRuby examples, unless specified, is covered by the Ruby license, which can be found online at: \
\pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\li960\fi-20\ri-1180\ql\qnatural
{\field{\*\fldinst{HYPERLINK "http://www.ruby-lang.org/en/LICENSE.txt"}}{\fldrslt \cf0 http://www.ruby-lang.org/en/LICENSE.txt}}}