#393: Custom accessors for KVO
----------------------------------+-----------------------------------------
Reporter: paolo.bose...@… | Owner: lsansone...@…
Type: defect | Status: new
Priority: minor | Milestone: MacRuby 0.5
Component: MacRuby | Keywords: KVO
----------------------------------+-----------------------------------------
if one creates custom accessors fro object keys to be used for KVO, the
setter cannot be made KVO-compliant. The runtime error message is
something like:
KVO autonotifying only supports -set<Key>: methods that return void.
Autonotifying will not be done for invocations of -[MyController
setSlider:].
Even making the setter returning nil doesn't work.
See the attached example.
--
Ticket URL: <http://www.macruby.org/trac/ticket/393>
MacRuby <http://macruby.org/>
_______________________________________________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel