• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Core Data - NSFetchRequest Issue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Core Data - NSFetchRequest Issue
      • From: Jerry Krinock <email@hidden>
  • Prev by Date: Toolbar validation and modal panel
  • Next by Date: Code Signing and a Background Tool
  • Previous by thread: Toolbar validation and modal panel
  • Next by thread: Re: Core Data - NSFetchRequest Issue
  • Index(es):
    • Date
    • Thread