This directory contains a few demos of using the HotCocoa library.
To learn more about HotCocoa see:
When you install HotCocoa you get a hotcocoa command which generates a project directory from a template.
This will generate your directory structure. The sample apps in this directory were generated with this command. The basic HotCocoa directory structure is:
./directory/Rakefile #=> used with macrake to build the app ./directory/config/build.yml #=> build options ./directory/lib/application.rb #=> application template ./directory/lib/menu.rb #=> menus used by the app ./resources/HotCocoa.icns #=> hotcocoa icon
After generating the structure, cd into that directory and run
macrake to build.
Examples can all be run by running
macrake from inside the example
cd <example-directory> macrake
A simple calculator example.
Demo of many hotcocoa wrappers.
Demo of using the layout view system.
Port of an Apple sample showing how to use hotcocoa with a nib files.
Same as round_transparent_window but without using any nibs.
Demo of downloading data, progress indicator and scroll view containing a text view.
An IRB-like console using WebKit.
There is also a set of examples showcasing some of the things you can
create using HotCocoa::Graphics. You can run the example app directly
cd graphics macruby demo.rb