On Sep 4, 2009, at 9:47 AM, Clayton Leitch wrote:
fetchedObjects = nil;
...
fetchRequest = [[NSFetchRequest alloc] init];
...
fetchedObjects = [context executeFetchRequest:fetchRequest error:&error];
...
[fetchRequest release];
One other thing (memory-management-related). You seem not to be using garbage collection (since you release your fetch request), but your example indicates you don't appear to be retaining your fetchedObjects array (or releasing an existing one at the top of your method). You might want to think about that more closely.
-- I.S. _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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 arch...@mail-archive.com