Re: NSArray.sortedArrayUsingComparator(OrderedAscending)
Re: NSArray.sortedArrayUsingComparator(OrderedAscending)
- Subject: Re: NSArray.sortedArrayUsingComparator(OrderedAscending)
- From: Ray Ackland <email@hidden>
- Date: Wed, 2 Jun 2004 13:31:44 +1200
Nathan,
I think you are missing a bit from your code. Check out the
documentation for EOSortOrdering. It gives some examples of was of
doing some stuff.
You should be able to find the documentation in:
/Developer/Documentation/WebObjects/Reference/API/index.html
or in the equivalent location on the web:
http://developer.apple.com/documentation/WebObjects/Reference/API/
index.html
Look down the lower left hand column for EOSortOrdering.
Ray.
On 02/06/2004, at 12:37, Nathan Dumar wrote:
users = users.sortedArrayUsingComparator(OrderedAscending);
what key is used to sort? (users is an NSArray of custom type
UserClass)
How can I tell it to use user.name or user.ssn or ... ?
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.