Core Data - NSFetchRequest Issue
Core Data - NSFetchRequest Issue
- Subject: Core Data - NSFetchRequest Issue
- From: Joshua Lee Tucker <email@hidden>
- Date: Mon, 10 Jan 2011 18:54:52 +0000
Hello,
I have a small problem with NSFetchRequest. For some reason unknown to me, NSFetchRequest is not just returning my selected entity. I'll put this in context:
I have two entities, one called Report and the other called Location.
Report has a one-to-many relationship to Location, and I have multiple Location objects.
I am attempting to retrieve all of my Report objects, but when I retrieve them, my array shows that I have also retrieved Locations objects.
I am using -addLocationsObject: to add Location objects to each individual Report location.
I'd appreciate it if anyone could shed any light on this matter.
Thanks,
Joshua Lee Tucker
Lead Engineer - Stunnify
@DarkMalloc
_______________________________________________
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