• 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: Patrick Perroud <email@hidden>
  • Date: Thu, 7 Sep 2006 15:10:35 +0200


On 7 Sep 2006, at 14:48 , I. Savant wrote:

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.
>

Thank's you for the link above - this is fully answering this issue indeed.


A possible solution I guess would be to add a first column with rows number and set an ascending sorting key for this column. Would it be working like this?

Best regards

Patrick Perroud

_______________________________________________
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: "I. Savant" <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>)
 >Re: CoreData issue (From: "I. Savant" <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