Hi Dear List !
I have been looking for way to sort my EOs in a custom way for hours and did not find any solution. I wondered if someone had a solution for this. I only want to do that sorting in memory with EOSortOrdering .sortOrderingWithKey(String key, NSSelector selector)
Let's say I have a Screen EO Screen has a name Let's say I have EOs with names "Screen1", "Screen2", "Screen11", "Screen22", "Screen3" WebObjects using EOSortOrdering.CompareAscending allows me to an array of those EOs sorted like this : Screen1 Screen11 Screen2 Screen22 Screen3
Wouldn't it be great to be able to sort them like this? Screen1 Screen2 Screen3 Screen11 Screen22
So I tried to understand how to subclass something, create a corresponding NSSelector like are EOSortOrdering.CompareAscending and such... no luck :-(
Does anyone have an idea of how this could be done???
Regards
www.easyshadow.com
International Corporate Consulting Palais de la Scala 1 avenue Henri Dunant Suite 1155 MC - 98000 Monaco
Skype: fabrice.pipart Tel. +377 97 98 21 04 (direct) Fax. +377 97 70 88 07
|