Selecting max in NSArray
Selecting max in NSArray
- Subject: Selecting max in NSArray
- From: Drew Thoeni <email@hidden>
- Date: Thu, 10 Feb 2005 22:58:37 -0500
I have an NSArray with several objects in it. I want to select the
object that has the maximum price. However, using
valueForKey("@max.item.price") returns, of course, the price for the
item instead of the item. Is there a way to do this without having to
refetch?
Drew
_______________________________________________
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