[MacRuby-devel] [MacRuby] #622: Overriding setRepresentedObject on NSViewController subclass doesn't seem to work

MacRuby ruby-noreply at macosforge.org
Wed Feb 24 09:03:55 PST 2010


#622: Overriding setRepresentedObject on NSViewController subclass doesn't seem
to work
-----------------------------+----------------------------------------------
 Reporter:  ninh@…           |       Owner:  lsansonetti@…        
     Type:  defect           |      Status:  new                  
 Priority:  blocker          |   Milestone:  MacRuby 0.6          
Component:  MacRuby          |    Keywords:                       
-----------------------------+----------------------------------------------
 Overriding setRepresentedObject in a subclass of NSViewController seems to
 have no effect. In particular, in macrubybind.rb, it shows that a custom
 setMyRepresentedObject is being used, but when
 you just override setRepresentedObject, it's not being used in conjunction
 with cocoa bindings.

 In NinhBindingTest.zip you can see that in objective C it works as
 expected though, i.e. overriding setRepresentedObject yields the expected
 behavior.

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/622>
MacRuby <http://macruby.org/>



More information about the MacRuby-devel mailing list