MacRuby: The Definitive Guide - Code Examples
This repository contains code examples used in my MacRuby book.
Examples are organized by chapters so you can follow along.
Chapter 1
- hello_world.rb Hello World script example.
Chapter 2
- Demo App example Source code for the demo app.
Chapter 5
- Drawing: rectangle v1, rectangle v2, failed rectangle drawing, image
- Bindings Example
- Events Example
Chapter 7
- Core Data Example app Source code for the Core Data demo app.
Chapter 8
- selectors.rb MacRuby selector examples.
- closures.rb Closure/block/iterator examples.