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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to