Returns an NSSortDescriptor object initialized with a given property key path and sort order, and with the default comparison selector.
Original signature is '- (id)initWithKey:(NSString *)keyPath ascending:(BOOL)ascending'
Available in Mac OS X v10.3 and later.
Declaration Syntax
Return Value
An NSSortDescriptor object initialized with the property key path specified by keyPath, sort order specified by ascending, and the default comparison selector (compare:).
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)