Re: CORE DATA: derived values from several entities and managed object instances ??
Re: CORE DATA: derived values from several entities and managed object instances ??
- Subject: Re: CORE DATA: derived values from several entities and managed object instances ??
- From: "R. Matthew Emerson" <email@hidden>
- Date: Wed, 18 Jan 2006 17:29:30 -0500
On Jan 18, 2006, at 4:56 PM, dan pahlajani wrote:
Several of the managed objects in my app have derived values (values
calculated from other attributes) just like a fullName being driven
from
first and last names.
However, many a times the derived value is calculated using the
attributes
of several entities AND many a times the derived values is
calculated using
same attribute of an entity but from a set of managed object
instances of
the entity.
Have you seen the following link?
http://developer.apple.com/documentation/Cocoa/Conceptual/CoreData/
Articles/cdFAQ.html#//apple_ref/doc/uid/TP40001802-DontLinkElementID_13
While registering to receive change notifications from the MOC may
get you more information than you would really like to see, if your
managed objects are not changing too frequently, this may be a
workable way of keeping your derived values up-to-date.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden