• 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: Key path help for complex binding
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Key path help for complex binding


  • Subject: Re: Key path help for complex binding
  • From: Kyle Sluder <email@hidden>
  • Date: Wed, 2 Dec 2009 12:18:52 -0800

On Wed, Dec 2, 2009 at 11:37 AM, Quincey Morris
<email@hidden> wrote:
> In some cases, you can do the wrong thing -- change the instance variable directly -- and still be KVO compatible if you manually call the willChangeValueForKey:/didChangeValueForKey: methods (or the similar ones designed specifically for collections), but that approach is kind of frowned on, not to mention difficult to get right in general.

I don't know why you call this the "wrong thing."  This is very much a
reasonable thing to do, and in many non-trivial cases you will have to
do exactly this.

--Kyle Sluder
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Key path help for complex binding
      • From: Quincey Morris <email@hidden>
References: 
 >Key path help for complex binding (From: David Hirsch <email@hidden>)
 >Re: Key path help for complex binding (From: Quincey Morris <email@hidden>)
 >Re: Key path help for complex binding (From: David Hirsch <email@hidden>)
 >Re: Key path help for complex binding (From: Quincey Morris <email@hidden>)

  • Prev by Date: Re: Contain touches within UIImageView only
  • Next by Date: Re: Key path help for complex binding
  • Previous by thread: Re: Key path help for complex binding
  • Next by thread: Re: Key path help for complex binding
  • Index(es):
    • Date
    • Thread