Skip to content

Category Archives: Tutorials

A Few Other RubyCocoa Tutorials

A few links to some RubyCocoa tutorials I found helpful in addition to the ones you can find on this weblog:
Bowled over by RubyCocoa
This is a wonderful tutorial that both teaches you some basic GUI programming with RubyCocoa while teaching you a testing approach. I don’t recommend it for complete beginners, however.
Selectable Toolbar Icons in [...]

MacRuby Random Number Generator Tutorial

There is a very popular book out there for learning Cocoa called Cocoa® Programming for Mac® OS X, Third Edition by Aaron Hillegass. A number of people have suggested that, even if I want to program using RubyCocoa or MacRuby and don’t care much for learning the Objective-C language, you can learn a lot by [...]

Browser Tutorial #1: Creating a Simple Web Browser in RubyCocoa

The Webkit framework has made it ridiculously easy to create a browser as part of any OS X application and there are tutorials all over the web to show how this can be done in Cocoa applications. For the basics, it doesn’t require any code at all, so it comes as no surprise that this [...]

Adding a Check Updates Feature for RubyCocoa and MacRuby

Do you want to have a nice “Check for Updates…” feature in your new application without having to code it yourself? The Sparkle module provides a wonderful and free way of implementing this in your application.
This tutorial is essentially a modified version of the tutorial I created for using the Sparkle updates module on my [...]

MacRuby Tutorial

There is a nice and simple tutorial that can be found towards the end of this page at the MacRuby site. I gave it a try but also wanted to test the way that MacRuby can seamlessly convert to and from Cocoa strings without conversion.
In the following screencast I create a simple MacRuby application that [...]

Translation of Satoshi Nakagawa’s RubyCocoa Tutorials

Satoshi Nakagawa, a contributor to RubyCocoa’s development and the creator of the IRC chat client LimeChat has some great resources online that can help with learning RubyCocoa. They are mostly in Japanese so there are many who won’t be able to benefit from them.
I especially liked some really clear and simple tutorials for RubyCocoa [...]