Is there a way to access instance variables defined in an Objective-C
class from a Ruby extension?

It is currently not implemented, but it's technically possible. A good work-around is to define accessors (properties) as John mentioned.

Maybe we need MacRuby::Runtime to bubble up the Obj-C runtime. Or FFI.

-Ben
_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to