From 202f0ceed2f6be3bb3e6e1e3b6d31aade3c3b5d8 Mon Sep 17 00:00:00 2001 From: Gregory John Casamento Date: Fri, 2 Aug 2019 05:48:50 -0400 Subject: [PATCH] Add declration to header for NSSortDescriptor sortDescriptorWithKey:ascending:comparator: --- Headers/Foundation/NSSortDescriptor.h | 10 ++++++++++ 1 file changed, 10 insertions(+) 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