Hi Alexander, On Apr 28, 2010, at 1:49 PM, Alexander von Below wrote:
> Hello, > > I have a conceptual question: > > Is it possible for an embedded ruby script running in MacRuby to call back > into my Cocoa Application easily? Or would the only way be to create > distributed Objects or similar IPC mechanisms? It is possible to run the MacRuby runtime inside a pure Objective-C-based Cocoa app, which allows Objective-C to talk to Ruby objects (and vice-versa) inside the same process. Check out the MacRuby.h header file (an Objective-C API to talk to the runtime) inside the framework, or the EmbeddedMacRuby sample app. Laurent _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel