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
-
property
property -
ascending
property -
+ 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)ascending
Declared In
RLMArray.h