• 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
Re: Listing only unique attributes in a set of Core Data Objects
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Listing only unique attributes in a set of Core Data Objects


  • Subject: Re: Listing only unique attributes in a set of Core Data Objects
  • From: mmalcolm crawford <email@hidden>
  • Date: Thu, 26 May 2005 23:21:39 -0700


On May 26, 2005, at 10:14 PM, Fletcher T. Penney wrote:

There does not appear to be a means of telling Core Data to deliver "the first person to have each firstName" out of all the people in the database. Is there a way to do this within the Core Data realm itself, or will it require a custom function to scan each person, and remove the duplicates sharing a given firstName (or lastName, etc)???

Do you need to do this with a fetch, or is it not "live" based on what's "in the user interface" already (i.e. you're actually filtering)? If you're actually filtering, you can probably use @distinctUnionOfObjects.firstName somewhere along the line...


mmalc


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Listing only unique attributes in a set of Core Data Objects (From: "Fletcher T. Penney" <email@hidden>)

  • Prev by Date: Document Types
  • Next by Date: Re: Many many tabs
  • Previous by thread: Listing only unique attributes in a set of Core Data Objects
  • Next by thread: Re: Listing only unique attributes in a set of Core Data Objects
  • Index(es):
    • Date
    • Thread