Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Implement -sortedArrayUsingDescriptors: for CPSet.

  • Loading branch information...
commit 91eb23ba873a685def923521e8fe01208d8bfe0b 1 parent 3b85a67
@Kentzo authored
Showing with 9 additions and 0 deletions.
  1. +9 −0 Foundation/CPSet/CPSet.j
9 Foundation/CPSet/CPSet.j
@@ -381,6 +381,15 @@
+ 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.

1 comment on commit 91eb23b


Merged. Thanks!

Please sign in to comment.
Something went wrong with that request. Please try again.