RLMSortDescriptor Class Reference
| Inherits from | NSObject |
| Declared in | RLMArray.h |
Overview
An RLMSortDescriptor stores a property name and a sort order for use with
sortedResultsUsingDescriptors:. It is similar to NSSortDescriptor, but supports
only the subset of functionality which can be efficiently run by the query
engine. RLMSortDescriptor instances are immutable.
Tasks
-
propertyproperty -
ascendingproperty -
+ sortDescriptorWithProperty:ascending: -
– reversedSortDescriptor
Properties
Class Methods
sortDescriptorWithProperty:ascending:
Returns a new sort descriptor for the given property name and order.
+ (instancetype)sortDescriptorWithProperty:(NSString *)propertyName ascending:(BOOL)ascendingDeclared In
RLMArray.h