Re: Re: Confused about bindings
Re: Re: Confused about bindings
- Subject: Re: Re: Confused about bindings
- From: "Julien Jalon" <email@hidden>
- Date: Sun, 19 Nov 2006 20:36:23 +0100
I know but this still is not the complete documentation I'm still awaiting ;-)
"Note that this example omits several important details, such as
editor registration and checking that the value transformer allows
reverse transformations."
But that's still a start.
--
Julien
On 11/19/06, mmalc crawford <email@hidden> wrote:
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