O'Reilly logo

MacRuby in Action by Brendan G. Lim with Jerry Cheung and Jeremy McAnally

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 2. Using Macirb and the Apple development tools

 

This chapter covers
  • Loading external libraries
  • Getting to know the MacRuby console
  • Building a Pomodoro application

 

It’d be a shame if you couldn’t use the many well-written Objective-C and Ruby libraries when writing MacRuby applications. In this chapter, you’ll discover how to leverage these libraries to instantly add functionality to your applications. You have access not only to popular frameworks such as Cocoa but also to many Ruby libraries, which are known as gems. You’ll learn how to load and take advantage of the Cocoa frameworks and MacRuby-compatible gems.

You’ll also learn some ins and outs of using the MacRuby console, Macirb. Built on top of the Ruby console, Irb, Macirb ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required