mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-24 07:25:52 +00:00
Implement -sortedArrayUsingDescriptors: for CPSet.
This commit is contained in:
1 parent
3b85a67faf
commit
91eb23ba87
1 file changed
+9
@@ -380,6 +380,15 @@
|
||||
return NO;
|
||||
}
|
||||
|
||||
/*!
|
||||
Returns an array of the set’s content sorted as specified by a given array of sort descriptors.
|
||||
@param sortDescriptors An array of NSSortDescriptor objects.
|
||||
*/
|
||||
- (CPArray)sortedArrayUsingDescriptors:(CPArray)aSortDescriptors
|
||||
{
|
||||
return [[self allObjects] sortedArrayUsingDescriptors:aSortDescriptors];
|
||||
}
|
||||
|
||||
/*!
|
||||
Compares the receiver to another set.
|
||||
@param set The set with which to compare the receiver.
|
||||
|
||||
Reference in new issue
Block a user