• 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 sort order
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CoreData sort order


  • Subject: Re: CoreData sort order
  • From: Scott Anguish <email@hidden>
  • Date: Tue, 27 Jun 2006 03:04:25 -0400


On Jun 27, 2006, at 2:50 AM, Phillip Hall wrote:

My model is a CoreData model which doesn't seem to allow you to specify sort orders in the CoreData editor and I cannot find where to specify the sort order in the array controller.

setSortDescriptors:

http://developer.apple.com/documentation/Cocoa/Reference/ ApplicationKit/Java/Classes/NSArrayController.html#//apple_ref/doc/ uid/20002183-BCIGGDHD


How would I go about sorting the data in a table?

Can this be done inside Interface Builder?


well, you can bind sortDescriptors to an array controller or an NSTableView... but you'd still need to instantiate and setup a sort descriptor someplace.
_______________________________________________
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: 
 >CoreData sort order (From: Phillip Hall <email@hidden>)

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