[MacRuby] #623: Overriding setRepresentedObject on NSViewController subclass doesn't seem to work
#623: 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 (kindly provided by Johannes Fahrenkrug) 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/623> MacRuby <http://macruby.org/>
#623: 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: -----------------------------+---------------------------------------------- Comment(by lsansonetti@…): The NinhBindingTest app seems to work for me, but I asked Ninh to double- check :-) -- Ticket URL: <http://www.macruby.org/trac/ticket/623#comment:1> MacRuby <http://macruby.org/>
#623: Overriding setRepresentedObject on NSViewController subclass doesn't seem to work -----------------------------+---------------------------------------------- Reporter: ninh@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: blocker | Milestone: MacRuby 0.6 Component: MacRuby | Resolution: fixed Keywords: | -----------------------------+---------------------------------------------- Changes (by lsansonetti@…): * status: new => closed * resolution: => fixed Comment: Johannes confirmed that this problem has been fixed in 0.6. -- Ticket URL: <http://www.macruby.org/trac/ticket/623#comment:2> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby