diff --git a/Headers/Foundation/NSSortDescriptor.h b/Headers/Foundation/NSSortDescriptor.h index 1f3d608c2..2108de595 100644 --- a/Headers/Foundation/NSSortDescriptor.h +++ b/Headers/Foundation/NSSortDescriptor.h @@ -92,6 +92,16 @@ extern "C" { + (id) sortDescriptorWithKey: (NSString *)aKey ascending: (BOOL)ascending selector: (SEL)aSelector; + +/**
Returns an autoreleased sort descriptor initialized to perform + * comparisons in the specified order using the comparator to compare + * the property aKey of each object.
+ * + *See also -initWithKey:ascending:selector:.
+ */ ++ (id)sortDescriptorWithKey: (NSString *)key + ascending: (BOOL)ascending + comparator: (NSComparator)cmptr; #endif /** Initialises the receiver for comparisons using the 'compare:' selector