Main Content

OS X Application Development with HotCocoa

A talk by Rich Kilmer at Rubyconf 2008

About the Talk

November 7, 2008 12:15 PM

Orlando, FL

Orlando, FL

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.

Ratings and Recommendations

Avg. Rating

Average based
on 1 rating

comments powered by Disqus