An Introduction to RubyCocoa

Ruby is an object-oriented scripting language that has been chosen by many for its consistency and power. Many of its users also feel that Ruby helps them write beautiful code.

Cocoa is Apple Computer’s object-oriented framework for building applications on Mac OS X. Many beautiful user interface features are made easily available by Cocoa.

RubyCocoa makes it possible for developers to create desktop applications that are beautiful inside and out. This is a guide for getting started.

Copyright

Copyright © 2006, by Tim Burks, some rights reserved.

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 2.5 License.

What do you think of this book? Post your comment or suggestion below!

Comments (5) post
  1. Ben P Mon Sep 18 17:31:41 +0000 2006

    I’ve been looking at ruby quite a bit lately, and your website gave me a great intro to it using something I’m already familiar with. Besides the interactivity of irb and rapid development due to the interpreted nature of the language, are there any other advantages ruby has over obj-c?

  2. Tim Burks Fri Oct 27 21:52:01 +0000 2006

    Yes, there are a lot of them. One of my favorites is the expressive density of Ruby. I can say more with less code than in any other language that I know without losing readability. But the point of this website (to me) is that Ruby and Objective-C are not languages to compare against one another; instead they are partners to use together. We are unlikely to ever see Ruby code that performs as well as Objective-C, and we will probably never see Objective-C code that is as expressive and flexible as Ruby. To me, the power of RubyCocoa is the power of using these two languages together.

  3. Chris McGrath Fri Nov 03 07:36:34 +0000 2006

    Just come across this site, thanks a lot for creating it I can see it becoming very useful.

  4. Tim Perrett Sun Dec 24 15:47:43 +0000 2006

    Ive been working with ruby for a couple of years, doing CLI apps, then into the fray with rails from about version 0.9. Now moving into aqua applications, ruby can come with me thanks to RubyCocoa, which is awesome!

    In all my experience of a wide variety of languages ruby is probally my favorite, it just has such good little idiomatic things that make working with it a real joy, and unlike a lot of other languages, people actually use those conventions!

    Great site, keep it up :)

  5. tdog Fri Mar 23 13:44:03 +0000 2007

    Can ruby be bound with objective-c either through cocoa or GNUStep to create web applications?