Questions tagged [hotcocoa]

HotCocoa simplifies the process of creating and configuring Cocoa objects when building native Mac apps in Ruby.

HotCocoa is a thin, idiomatic Ruby layer that sits above Cocoa and other frameworks. The goal of the project is to simplify the process of creating and configuring Cocoa objects used when building native Mac apps.

The project was originally part of MacRuby but was later extracted into its own gem.

Code and documentation are on GitHub.

6 questions
8
votes
6 answers

Could MacRuby / HotCocoa supplant the need to know Objective-C?

I just discovered MacRuby / HotCocoa and really like the sound of what they're doing. I had essentially discounted the prospect of making Cocoa GUI applications myself because I have an aversion to spending time & effort learning yet another C-based…
xyz
  • 27,223
  • 29
  • 105
  • 125
3
votes
1 answer

MacRuby HotCocoa $ macrake // error

Even though I can compile and run a simple hotcocoa code by doing , it won't rake auto-generated hotcocoa code. I'm running Mac OS X Lion and XCode for Lion (I'm not even using XCode for hotcocoa, though.) Any solution for this? $ hotcocoa test $ cd…
user292071
  • 81
  • 1
  • 1
  • 3
2
votes
1 answer

MacRuby 0.10 HotCocoa unsupported file format which is not the architecture being linked (i386)

I've installed MacRuby (via rvm): $ ruby -v MacRuby 0.10 (ruby 1.9.2) [universal-darwin10.0, x86_64] And LLVM (via homebrew): $ llvmc --version Low Level Virtual Machine (http://llvm.org/): llvm version 2.9 Optimized build. Built Jun 3 2011…
Brian
  • 4,931
  • 3
  • 32
  • 55
1
vote
2 answers

Hotcocoa installation path error

I have installed MacRuby 0.6 and then the hotcocoa gem from Github. However, when I try to create a hotcocoa application with eg. hotcocoa demoapp I get the error -bash: /usr/local/bin/hotcocoa: No such file or directory Typing 'which hotcocoa'…
Martin Smith
  • 213
  • 3
  • 10
0
votes
1 answer

How do I get hotcocoa to create a default project?

I followed these steps: Download MacRuby. Double-click on the zip file to extract it and double-click on the package inside the extracted directory to start the install. Just go with the defaults. You may want to kill off terminal.app if you have…
Jeremy Smith
  • 14,727
  • 19
  • 67
  • 114
0
votes
1 answer

hotcocoa button background colour

I'm working on project which based on macruby and hotcocoa framework. I don't know objective c. In my project I would like to change color of button (NSButton). Do you know how to achieve this using hotcocoa mappers or macruby?
cotampanie
  • 65
  • 1
  • 3