Sorting an array of EOs using my own selector
Sorting an array of EOs using my own selector
- Subject: Sorting an array of EOs using my own selector
- From: Hugi Thordarson <email@hidden>
- Date: Wed, 9 Mar 2005 13:51:32 +0000
Hi all!
I feel somewhat stupid not being able to figure this out on my own, but
here goes:
I have an array of EOs that I need to sort in Icelandic alphabetical
order (I can't use the DB for sorting, since I don't have access to it
to create a collation).
One would think that this should be simple enough, and I've thought of
several hacks; all of which make me jump through hoops that I don't
tink I should have to.
I have my own NSComparator subclass for comparing Icelandic strings and
I often use that to sort NSArrays of Strings - can I use this
comparator to sort the EOs somehow?
Cheers,
Hugi
// Hugi Thordarson
// Development mgr.
// Vefsyn hf. - development, analysis, marketing
// http://www.vefsyn.com/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden