• 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: CoreData issue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CoreData issue


  • Subject: Re: CoreData issue
  • From: "I. Savant" <email@hidden>
  • Date: Thu, 7 Sep 2006 08:48:15 -0400


For several good reasons, data is not retrieved in any particular order. See this post:


http://www.cocoabuilder.com/archive/message/cocoa/2005/6/14/138793

In summary, if you want to preserve order, you *must* create a sortable attribute like "sortOrder", fetch your data and sort by that key.

--
I.S.


On Sep 7, 2006, at 8:13 AM, Patrick Perroud wrote:

In conclusion, if CoreData was not saving NSArrays in their stack order but randomly then this would be a serious misconception, to me.

_______________________________________________ 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
  • Follow-Ups:
    • Re: CoreData issue
      • From: Patrick Perroud <email@hidden>
References: 
 >CoreData issue (From: Patrick Perroud <email@hidden>)
 >Re: CoreData issue (From: Andrew Merenbach <email@hidden>)
 >Re: CoreData issue (From: Patrick Perroud <email@hidden>)

  • Prev by Date: Re: CoreData issue
  • Next by Date: Re: CoreData issue
  • Previous by thread: Re: CoreData issue
  • Next by thread: Re: CoreData issue
  • Index(es):
    • Date
    • Thread