Refs #1480. Change NSSortDescriptors to CPSortDescriptors in docs.

This commit is contained in:
Alexander Ljungberg committed 2012-03-19 21:03:04 +00:00
1 parent 38a0a261c0
commit 79f2ec5d17
1 file changed
+6 -5
+6 -5
View File
@@ -173,7 +173,7 @@
/*!
Creates and returns a set containing the objects from an array.
@param anArray An array containing the objects to add to the new set.
@param aCount the number of objects in anArray.
@param aCount the number of objects in anArray.
*/
- (id)initWithObjects:(CPArray)objects count:(CPUInteger)aCount
{
@@ -381,12 +381,13 @@
}
/*!
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.
Returns an array of the set's content sorted as specified by a given array of sort descriptors.
@param sortDescriptors an array of CPSortDescriptor objects.
*/
- (CPArray)sortedArrayUsingDescriptors:(CPArray)aSortDescriptors
- (CPArray)sortedArrayUsingDescriptors:(CPArray)someSortDescriptors
{
return [[self allObjects] sortedArrayUsingDescriptors:aSortDescriptors];
return [[self allObjects] sortedArrayUsingDescriptors:someSortDescriptors];
}
/*!