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

Re: CoreData question


  • Subject: Re: CoreData question
  • From: Niko Matsakis <email@hidden>
  • Date: Mon, 26 Sep 2005 08:13:46 +0200

I've tried using [[genreArrayController arrangedObjects] sortUsingSelector:@selector(caseInsensitiveCompare:)]; but that doesn't do much (genreArrayController is an NSArrayController, which is an IBOutlet)

I don't know the details of it, because I haven't had to care about it yet, but I believe in the bindings from table to controller there are ways to specify how things are sorted. I believe they are called "sortDescriptors"; this document may be helpful:


http://developer.apple.com/documentation/Cocoa/Conceptual/ SortDescriptors/index.html

You may also want to see the examples on

http://homepage.mac.com/mmalc/CocoaExamples/controllers.html

many of which do some sort of sorting or other.

Hope this helps (and is correct).


Niko

_______________________________________________
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 question (From: Jesus De Meyer <email@hidden>)
 >Re: CoreData question (From: mmalcolm crawford <email@hidden>)
 >Re: CoreData question (From: Jesus De Meyer <email@hidden>)
 >Re: CoreData question (From: Jesus De Meyer <email@hidden>)
 >Re: CoreData question (From: Jesus De Meyer <email@hidden>)

  • Prev by Date: Re: NSRectFIll() taking 0.03 seconds, too slow?
  • Next by Date: Where is the build log
  • Previous by thread: Re: CoreData question
  • Next by thread: Round Image on Round Button
  • Index(es):
    • Date
    • Thread