initWithDictionary:
|
-
(id)initWithDictionary:(NSDictionary *)_dict
|
Initialize a sort-ordering with information contained in the dictionary.
The following keys are recognized: "key" is required and specifies the
key to be sorted on, "selector" is optional and specifies the sort
selector as a string. The default for "selector" is EOCompareAscending
and the following "special" values are recognized: "compareAscending",
"compareDescending", "compareCaseInsensitiveAscending",
"compareCaseInsensitiveDescending".
|
initWithKey:selector:
|
-
(id)initWithKey:(NSString *)_key selector:(SEL)_selector
|
Initialize a sort-ordering object with the specified key and sort selector
|
initWithPropertyList:
|
-
(id)initWithPropertyList:(id)_plist
|
This method checks whether the give property list is an NSDictionary
or an NSString object and invokes -initWithDictionary: or
-initWithString: in turn.
|
initWithString:
|
-
(id)initWithString:(NSString *)_string
|
Initialize/parse a sort-ordering from a string. Usually the string is
taken as the key of the ordering and the sorting EOCompareAscending. This
can be modified by adding ".reverse" to the key, eg "name.reverse" sorts
on the "name" key using EOCompareDescending.
|
key
|
-
(NSString *)key
|
Returns the key the ordering sorts with.
|
selector
|
-
(SEL)selector
|
Returns the selector the ordering sorts with.
|
|