Chapter 1. Introducing MacRuby
Figure 1.1. MacRuby is built on top of the Objective-C runtime.
Figure 1.2. The MacRuby script in action
Figure 1.3. Documentation for the NSTimer class
Figure 1.4. In the MacRuby class hierarchy, everything is inherited from NSObject.
Figure 1.5. The finished Hello World application that you’ll create using Xcode
Figure 1.6. Starting a new project in Xcode
Figure 1.7. A new project in Xcode. Double-clicking MainMenu.xib launches Interface Builder.
Figure 1.8. Editing the application interface in Xcode
Figure 1.9. To hide/show panes, click items in the View selector.
Figure 1.10. The finished Hello World interface
Figure 1.11. Adding HelloWorldController as an NSObject to the interface
Figure 1.12. Creating a connection between the hello_button outlet and the push button
Chapter 2. Using Macirb and the Apple development tools
Figure 2.1. Creating a new Cocoa Library project in Xcode
Figure 2.2. Architectures and Compiler Version settings for the bundle
Figure 2.3. Executable Extension and Product Name settings for the bundle
Figure 2.4. Starting Irb followed by starting Macirb shows how similar the tools are.
Figure 2.5. The initial Pomodoro application project in Xcode
Figure 2.6. MainMenu.xib generates a user interface for you automatically. The Pomodoro application will need a few UI elements, such as a label and a button.
Figure 2.7. Running the base generated application
Figure 2.8. Customizing the application window in the Attributes inspector