mirror of
https://github.com/gnustep/libs-base.git
synced 2025-06-01 09:02:01 +00:00
Add declration to header for NSSortDescriptor sortDescriptorWithKey:ascending:comparator:
This commit is contained in:
parent
dcfbe9e0f8
commit
202f0ceed2
1 changed files with 10 additions and 0 deletions
|
@ -92,6 +92,16 @@ extern "C" {
|
||||||
+ (id) sortDescriptorWithKey: (NSString *)aKey
|
+ (id) sortDescriptorWithKey: (NSString *)aKey
|
||||||
ascending: (BOOL)ascending
|
ascending: (BOOL)ascending
|
||||||
selector: (SEL)aSelector;
|
selector: (SEL)aSelector;
|
||||||
|
|
||||||
|
/** <p>Returns an autoreleased sort descriptor initialized to perform
|
||||||
|
* comparisons in the specified order using the comparator to compare
|
||||||
|
* the property aKey of each object.</p>
|
||||||
|
*
|
||||||
|
* <p>See also -initWithKey:ascending:selector:.</p>
|
||||||
|
*/
|
||||||
|
+ (id)sortDescriptorWithKey: (NSString *)key
|
||||||
|
ascending: (BOOL)ascending
|
||||||
|
comparator: (NSComparator)cmptr;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/** Initialises the receiver for comparisons using the 'compare:' selector
|
/** Initialises the receiver for comparisons using the 'compare:' selector
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue