• 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: Core Data Fetch Invariance
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core Data Fetch Invariance


  • Subject: Re: Core Data Fetch Invariance
  • From: Greg Reichow <email@hidden>
  • Date: Sun, 27 Dec 2009 01:46:33 +0800

Your first comment was correct; they are unordered.  The fact that they may come back in the same order is not guaranteed by the API.  Therefore, if you need ordering, add an attribute to the core data object to do so.

Greg

On Dec 27, 2009, at 1:38 AM, Richard Somers wrote:

> Objects in a persistent store are unordered. If I fetch the objects, change nothing in the store, then fetch them again, do the two fetches give me the objects in the same order?
>
> --Richard
>
> _______________________________________________
>
> 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

_______________________________________________

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

References: 
 >Core Data Fetch Invariance (From: Richard Somers <email@hidden>)

  • Prev by Date: Re: Core Data Fetch Invariance
  • Next by Date: Re: IPhone app passing info into Desktop app
  • Previous by thread: Re: Core Data Fetch Invariance
  • Next by thread: Source List Indentation Drawing Issue
  • Index(es):
    • Date
    • Thread