Now I see different documentations on how to implement bindings in
custom views (includng your GraphicsBindings) and I'm a bit confused/
disappointed :
In almost every examples I saw, it seems that I have to implement KVO
myself in
but I thought NSObject was KVO compliant so that when I
willChangeValue / didChangeValue, it was responsabile of annoucing
the chages to every observers, automatically setup in
bind;toObject:withKeyPath:options: implementation of NSObject.
Right now without implementing anything but KVC, my NSView handles
changes made in objects bound to it, but objects bound to it do not
receive changes.
That means its KVC accessors are called, (does that means it
automatically registered as an observer for such keys ?) but changes
made in the view are not propagated to my model objetcs (but I'm KVO
complient)
I hope you can put some light on this, I'm not sure if I have to keep
track of observers myself or not, which seem to be quite an overhead
to me.
On Apr 28, 2007, at 8:29 AM, mmalc crawford wrote:
Moreover, you should almost certainly be binding to an
intermediary controller (an instance of a subclass of
NSController) and not directly to the managed object.