On Jun 21, 2009, at 14:04:42, Kyle Sluder wrote:

On Sun, Jun 21, 2009 at 1:48 PM, Rick Mann<[email protected]> wrote:
Is it possible (or does Core Data automatically do this) for attributes that
aren't accessed to not actually load? For example, my entities have a
"description" attributes that is rarely accessed. Will Core Data defer
loading the data for that attribute until it's actually requested?

No.  The behavior you're describing is known as "faulting."  Core Data
only faults objects, not attributes.  Factor out your description
attribute into a separate entity and configure a 1:1 relationship
between it and whatever entity it came from.

Yeah, I figured I could do this, just didn't want to :-)

Thanks!


_______________________________________________

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