Re: CoreData question
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