Cocoa Framework compatibility
Hey folks, I was curious about framework compatibility with MacRuby, from what I've tried so far and seen on other people's blog posts only frameworks built against the 32/64 bit Universal Architecture (with gc support) are compatible with MacRuby is that pretty much the restriction? Thanks! ps. I am really really loving MacRuby Paul
Hi, On Jun 9, 2009, at 5:53 PM, Paul wrote:
Hey folks,
I was curious about framework compatibility with MacRuby, from what I've tried so far and seen on other people's blog posts only frameworks built against the 32/64 bit Universal Architecture (with gc support) are compatible with MacRuby is that pretty much the restriction?
Yes. The "gc support" one might be dropped in the near future, though. I plan to write an alternative (simple) GC based on the retain/release/ autorelease model, so that MacRuby can run within a process that does not support the ObjC GC.
Thanks!
ps. I am really really loving MacRuby
Thanks for the kind words! Laurent
Hi All, Does anyone have a link to a tutorial in setting up a framework that is MacRuby friendly? I tried but don't know XCode well enough to get a project that was happy enough to produce the framework. Guess this is an XCode question, but I like using textmate / hotcocoa. While I don't mind using XCode to turn Objective-C code into a framework once, I'd rather not live in XCode land. Thanks, Keenan On Jun 9, 2009, at 9:03 PM, Laurent Sansonetti wrote:
Hi,
On Jun 9, 2009, at 5:53 PM, Paul wrote:
Hey folks,
I was curious about framework compatibility with MacRuby, from what I've tried so far and seen on other people's blog posts only frameworks built against the 32/64 bit Universal Architecture (with gc support) are compatible with MacRuby is that pretty much the restriction?
Yes.
The "gc support" one might be dropped in the near future, though. I plan to write an alternative (simple) GC based on the retain/release/ autorelease model, so that MacRuby can run within a process that does not support the ObjC GC.
Thanks!
ps. I am really really loving MacRuby
Thanks for the kind words!
Laurent _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Hi. Am 10.06.2009 um 07:28 schrieb Keenan Brock:
Does anyone have a link to a tutorial in setting up a framework that is MacRuby friendly? I tried but don't know XCode well enough to get a project that was happy enough to produce the framework.
For a bundle see here: http://www.macruby.org/recipes/create-an-objective-c-bundle.html For a framework see here: http://www.comprovisation.com/blog/using_rspec_with_macruby_part2 (The post is about RSpec, but in steps 2 to 6 I build a framework for MGTwitterEngine and this process should work for other frameworks as well). Regards, Thomas
participants (4)
-
Keenan Brock
-
Laurent Sansonetti
-
Paul
-
Thomas Dohmke