mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-27 02:25:36 +00:00
Refs #1480. Change NSSortDescriptors to CPSortDescriptors in docs.
This commit is contained in:
1 parent
38a0a261c0
commit
79f2ec5d17
1 file changed
+6
-5
@@ -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];
|
||||
}
|
||||
|
||||
/*!
|
||||
|
||||
Reference in new issue
Block a user