List of Listings

Chapter 1. Introducing MacRuby

Listing 1.1. MacRuby Hello World script

Listing 1.2. Inspecting Ruby classes and methods

Listing 1.3. HelloWorldController.rb

Chapter 2. Using Macirb and the Apple development tools

Listing 2.1. Ruby-generated rb_main.rb file

Listing 2.2. Pomodoro controller

Chapter 3. Going beyond the basics with Xcode Interface Builder

Listing 3.1. Task model

Listing 3.2. Tasks controller

Chapter 4. Using the delegate pattern

Listing 4.1. NSWindow delegation script

Listing 4.2. Completed browser controller

Chapter 5. Notifications and implementing the observer pattern

Listing 5.1. Queuing multiple notifications

Listing 5.2. iTunes-notification observer script

Chapter 6. Using key-value coding and key-value ...

Get MacRuby in Action now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.