• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Confused about bindings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Re: Confused about bindings
      • From: "Julien Jalon" <email@hidden>
References: 
 >Confused about bindings (From: David Aames <email@hidden>)
 >Re: Confused about bindings (From: "Julien Jalon" <email@hidden>)
 >Re: Confused about bindings (From: David Aames <email@hidden>)
 >Re: Re: Confused about bindings (From: "Julien Jalon" <email@hidden>)

  • Prev by Date: Re: Re: Confused about bindings
  • Next by Date: Re: Confused about bindings
  • Previous by thread: Re: Re: Confused about bindings
  • Next by thread: Re: Re: Confused about bindings
  • Index(es):
    • Date
    • Thread