• 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: Lion doesn't like tricky.key.paths in bindings?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Lion doesn't like tricky.key.paths in bindings?


  • Subject: Re: Lion doesn't like tricky.key.paths in bindings?
  • From: Jerry Krinock <email@hidden>
  • Date: Thu, 28 Jul 2011 23:34:51 -0700

On 2011 Jul 28, at 19:42, Kyle Sluder wrote:

> KVO doesn't do an -isEqual: on the result of your method. It does
> pointer equality. Something changed on Lion that causes it to now care
> that the return value of your method stays constant when it should.

Thank you, Kyle.  For a while I thought it was "just me".

> If you want to use a transformer-type method, you implement
> +keyPathsForValuesAffecting<<YourCleverProperty>>

Yes, that's what I've done.  Less fuss than value transformers, unless you can re-use them.


_______________________________________________

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

References: 
 >Lion doesn't like tricky.key.paths in bindings? (From: Jerry Krinock <email@hidden>)
 >Re: Lion doesn't like tricky.key.paths in bindings? (From: Clark Cox <email@hidden>)
 >Re: Lion doesn't like tricky.key.paths in bindings? (From: Jerry Krinock <email@hidden>)
 >Re: Lion doesn't like tricky.key.paths in bindings? (From: Kyle Sluder <email@hidden>)

  • Prev by Date: What could cause a fast enumeration mutation error in updating tracking areas?
  • Next by Date: Re: Lion doesn't like tricky.key.paths in bindings?
  • Previous by thread: Re: Lion doesn't like tricky.key.paths in bindings?
  • Next by thread: Re: Lion doesn't like tricky.key.paths in bindings?
  • Index(es):
    • Date
    • Thread