|
From: Jonathan P. <jp...@dc...> - 2006-02-23 08:49:49
|
On 22 Feb 2006, at 23:56, Tim Burks wrote: > I'd prefer to have the bridge automatically convert "object=" into > "setObject" calls, perhaps as an option. There are two directions to consider here: ObjC calling to Ruby for 'setFoo' to call 'foo='. This is handled by kvc_accessor. Ruby calling 'foo=' on an ObjC object to call 'setFoo'. This isn't handled yet. The latter could be fixed by extending the 'analyze_missing' method in oc_wrapper.rb. Do you think that would be sufficient? |