NSArray(ETArray) Category Reference
Declared in | ETArray.h |
Class Methods
sortDescriptor:
Creates a sort descriptor for the column provided in ascending order.
+ (NSArray *)sortDescriptor:(NSString *)column
Parameters
- column
The column name that will be used as the sort descriptor.
Return Value
An array containing the newly created sort descriptor with the column provided and ascending order.
Declared In
ETArray.h
sortDescriptor:ascending:
Creates a sort descriptor for the column provided with the provided order.
+ (NSArray *)sortDescriptor:(NSString *)column ascending:(BOOL)ascending
Parameters
- column
The column name that will be used as the sort descriptor.
- ascending
Flag indicating wether or not the sort description should be created ascending or descending.
Return Value
An array containing the newly created sort descriptor with the column provided and provided ascending order.
Declared In
ETArray.h