From: Tim B. <tim...@gm...> - 2006-02-24 11:05:23
|
Jonathan, yes, that suggestion sounds great, especially since it would make things symmetric. Tim On Feb 23, 2006, at 12:48 AM, Jonathan Paisley wrote: > > 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? > > |