• 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
Sorting an array of EOs using my own selector
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Sorting an array of EOs using my own selector
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Run session cancelled: No launchable executable to run
  • Next by Date: Fwd: Hibernate 3.0 continues to innovate java industry
  • Previous by thread: Run session cancelled: No launchable executable to run
  • Next by thread: Re: Sorting an array of EOs using my own selector
  • Index(es):
    • Date
    • Thread