From: Laurent S. <lsa...@ap...> - 2007-07-15 15:09:07
|
This is unfortunately not supported yet :( However, I don't really know QCPatch, but is it really necessary to provide instance variables in the superclass? This looks weird and unusual. Generally in superclasses you provide methods but not instance variables. Do you have a pointer to the mechanism behind QCPatch and this instance variable stuff? I could not find on google. Thanks, Laurent On Jul 15, 2007, at 4:50 PM, Motohiro Takayama wrote: > Hi, > > I want to publish some member variables in Ruby class to Objective-C. > How can I do that ? > > in QuartzComposer framework, member named "input***" in custom class > are automatically detected at runtime, like this: > > @interface MyCustomPatch : QCPatch > { > QCStringPort *inputFoo; > } > > I wrote Ruby class like: > > class MyRubyCustomPatch < OSX::QCPatch > attr_accessor :inputFoo > ... > end > > but "inputFoo" is not detected. > > I tried to wrote *.h for MyRubyCustomPatch class in Objective-C to > publish inputFoo, but it was no use... > > > sorry for my continuous posts. m(_ _)m > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Rubycocoa-talk mailing list > Rub...@li... > https://lists.sourceforge.net/lists/listinfo/rubycocoa-talk |