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 ...

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.