Get the Flash Player to see this player.


OS X Application Development with HotCocoa

Rich Kilmer

Other formats

HotCocoa is a thin, idiomatic Ruby layer that sits above Cocoa and other frameworks. HotCocoa will be included with MacRuby when it ships in future versions of OS X and is currently included in the MacRuby distributions. Cocoa classes have extremely verbose method and constant names. A substantial amount of code is written to just instantiate and configure instances of these classes. Interface Builder is used by most developers because it hides the complexity of manually configuring controls, but at the expense have having to use a GUI builder and the obscuring those configuration options inside the IB user interface. One of HotCocoa's chief goals is to allow Interface Builder simplicity, but in Ruby code. Buttons, Sliders, Windows, WebViews...the whole works...HotCocoa simplifies this process by creating a mapping layer over the top of Objective C classes. HotCocoa adds Ruby-friendly methods, constants and delegate techniques that look refreshingly simple, but do not prevent full use of the Cocoa APIs. This session will demonstrate the current state of HotCocoa, how to use it to construct full OS X applications quickly, and what our plans are for it in the future.


Videos are in h.264 quicktime format. We recommend Miro for viewing these files.

Back to Conference Schedule

Presenters retain full rights to the content of their presentations, and have released them under the Creative Commons Attribution-ShareAlike license.