Re: Confused about bindings
Re: Confused about bindings
- Subject: Re: Confused about bindings
- From: mmalc crawford <email@hidden>
- Date: Sun, 19 Nov 2006 09:29:09 -0800
On Nov 19, 2006, at 8:30 AM, Julien Jalon wrote:
So are we actually supposed to use KVC to update the model objects
ourselves
(i.e. implement in on our own in our custom views)? If that is the
case wouldn't it be better to implement the updating in the setters
and not in updateForMouseEvent: as it is shown in the docs? Thanks.
Yes: your custom views has to handle the whole stuff itself (and
that's where Apple documentation and code examples is a little bit
lacking)
This is described in detail in "Responding to Changes" <http://developer.apple.com/documentation/Cocoa/Conceptual/CocoaBindings/Concepts/HowDoBindingsWork.html#//apple_ref/doc/uid/20002373-196748
> with a complete implementation given in "BindingsJoystick" <http://developer.apple.com/samplecode/BindingsJoystick/
>.
mmalc
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden