Category Archives: Mac

Useful code snippets in Cocoa, Object-C, AppleScript, and Xcode.

RubyConf: Leveraging Mac OS X From Ruby

Laurent Sansonetti of Apple gave an awesome presentation on RubyOSA. RubyOSA is a Ruby/AppleEvent bridge that allows Ruby programs to interact and manipulate Apple applications in the same fashion that AppleScript can. Here is a code sample from the RubyOSA site: According to Laurent, Ruby has been shipped with OS X since 10.2, ‘Jaguar’ which [...]

Also posted in Ruby, TechKnow | Leave a comment

Design This Container

I attended the Creating Professional Swing UIs Using NetBeans GUI Builder (Formerly Code-Named “Matisse”). I been meaning to get started with the NetBeans GUI Builder to become a more productive UI developer. An important point for me is that Matisse supports custom components. This is important for me because at my company we have developed [...]

Also posted in IDE, Java, TechKnow | Leave a comment

Hello World Cocoa

Want to be a Mac Developer? Well, OS X and Xcode makes it easy to start hacking your ideas into Apple applications. I started to ‘write’ a Hello World program using Xcode. In less than five minutes and no coding at all I was able to create what I had in mind: #import <Foundation/Foundation.h> int [...]

Also posted in IDE, Programming, Rant, TechKnow | Leave a comment