Le 19 juil. 2011 à 07:21, Gideon King gid...@novamind.com a écrit :
But I told it to pre-fetch the view relationship. Any ideas why it wouldn't
work?
Maybe a silly answer, but isn’it a side effect of lazy loading?
V.
___
Cocoa-dev mailing list
Is your topic node self-referential? Maybe CoreData doesn't prefetch
circular references.
-Heath Borders
heath.bord...@gmail.com
Twitter: heathborders
http://heath-tech.blogspot.com
On Tue, Jul 19, 2011 at 12:21 AM, Gideon King gid...@novamind.com wrote:
Hi, I'm doing a fetch of some objects
Interesting idea. The structure is that I have a grandparent with just a single
attribute, a parent which has parent and children (self referential)
relationships, and a couple of one way to-one self referential relationships on
the topic node object itself, so there are a few things going on
Hi, I'm doing a fetch of some objects like this:
entity = [NSEntityDescription entityForName:kNMTopicNodeEntityKey
inManagedObjectContext:[self managedObjectContext]];
request = [[NSFetchRequest alloc] init];
[request setEntity:entity];
[request setRelationshipKeyPathsForPrefetching:[NSArray