Re: Key Value Observing?
Re: Key Value Observing?
- Subject: Re: Key Value Observing?
- From: Charles Steinman <email@hidden>
- Date: Tue, 11 Dec 2007 11:08:55 -0800 (PST)
--- Wdyp <email@hidden> wrote:
>
> 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 entityÂhow 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.
I think you need to reread that. The FAQ says you
*can't* use
setKeys:triggerChangeNotificationsForDependentKey:. It
then goes on to explain how you can do this with
notifications.
Cheers,
Chuck
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
_______________________________________________
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