- Inherits from:
- none (root class)
- Declared in:
- BDControl/BDSortOrdering.h
BDControl extends Foundation's NSObject class with methods used by the BDSortOrdering class when sorting arrays.
BDControl extends Foundation's NSObject class with methods used by the BDSortOrdering class when sorting arrays.
Specifically, BDControl adds four methods that wrap the existing comparison methods available in various objects to use the selectors expected by BDSortOrdering.
- BDSortOrderingAdditions
- -compareAscending:
- -compareDescending:
- -compareCaseInsensitiveAscending:
- -compareCaseInsensitiveDescending:
- (NSComparisonResult)compareAscending:(id)object
Compares the receiver with object and returns the result of the comparison.
- (NSComparisonResult)compareDescending:(id)object
Compares the receiver with object and returns the result of the comparison.
- (NSComparisonResult)compareCaseInsensitiveAscending:(id)object
Compares the receiver with object and returns the result of the comparison.
- (NSComparisonResult)compareCaseInsensitiveDescending:(id)object
Compares the receiver with object and returns the result of the comparison.