Re: Key Value Observing?
Re: Key Value Observing?
- Subject: Re: Key Value Observing?
- From: Wdyp <email@hidden>
- Date: Tue, 11 Dec 2007 20:00:05 +0100
Le 11 déc. 07 à 17:53, email@hidden a écrit :
[Summary: I have a key whose value is dependent on values of
attributes in a related entityhow do I ensure it is kept up to date
as the attribute values are changes and as the relationship is
manipulated?]
See <http://developer.apple.com/documentation/Cocoa/Conceptual/CoreData/Articles/cdFAQ.html#/
/apple_ref/doc/uid/TP40001802-DontLinkElementID_24
.
mmalc
This FAQ seems out of date (oct. 2007): the cocoa doc states that
setKeys:triggerChangeNotificationsForDependentKey: is a "now-
deprecated" method and, in fact, despite the ideas in the faq, I was
never able to make it work for inter-entity dependances.
On the other hand, the new keyPathsForValuesAffectingValueForKey:
method lacks good and complete code examples. I just sent a
documentation improvement request on the faq’s page.
Flofl._______________________________________________
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