Skip to content

Category Archives: MacRuby

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

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

Missing MacRuby Project Template

After installing MacRuby 0.2 I tried to follow the tutorial available online. However, I discovered XCode 3.1 didn’t display the “MacRuby Application” project template the way the tutorial indicated it should.
I spoke to MacRuby developer lrz on #ruby-osx yesterday, and he was kind enough to send me an empty MacRuby project that can be used [...]

New Ruby and Cocoa Google Group

There is a good mailing list out there for RubyCocoa and a development mailing list for MacRuby.
In order to create an online forum for discussing development with Ruby and Cocoa I created a new Google Group where people working with MacRuby, RubyCocoa, or RubyObjC can gather to discuss Ruby and Cocoa development issues:
Ruby and Cocoa [...]