How to use Obj-C classes in MacRuby

Posted by beno1604 on Stack Overflow See other posts from Stack Overflow or by beno1604
Published on 2010-03-17T10:31:02Z Indexed on 2010/05/02 13:38 UTC
Read the original article Hit count: 379

Filed under:
|

I am trying to use an external Obj-C class in my MacRuby project, but I can't figure out how to import it. Specifically, I want to use ObjectiveResource inside a MacRuby 0.5 project (since ActiveResource doesn't work - yet).

I have gotten as far as the 'framework' command in MacRuby, but it only seems to apply to actual frameworks.

Questions: where should I install the objective-resource directory? how do I pull these classes inside my ruby code?

Thanks for any help!

© Stack Overflow or respective owner

Related posts about macruby

Related posts about objective-c