From 79f2ec5d17b25cd9c3516a5b52ea5c401ae88850 Mon Sep 17 00:00:00 2001 From: Alexander Ljungberg Date: Mon, 19 Mar 2012 21:02:22 +0000 Subject: [PATCH] Refs #1480. Change NSSortDescriptors to CPSortDescriptors in docs. --- Foundation/CPSet/CPSet.j | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Foundation/CPSet/CPSet.j b/Foundation/CPSet/CPSet.j index e28952b39..4c0773bb4 100644 --- a/Foundation/CPSet/CPSet.j +++ b/Foundation/CPSet/CPSet.j @@ -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]; } /*!