ArcGIS Runtime SDK for iOS: AGSOrderBy Class Reference
ArcGIS Runtime SDK for iOS  100.6
AGSOrderBy Class Reference

Description

Instances of this class represent information about the sort order of query results.

Since
100
Inheritance diagram for AGSOrderBy:
AGSObject

Instance Methods

(instancetype) - init
 
(instancetype) - initWithFieldName:sortOrder:
 

Class Methods

(instancetype) + orderByWithFieldName:sortOrder:
 

Properties

NSString * fieldName
 
AGSSortOrder sortOrder
 

Method Documentation

§ init()

- (instancetype) init

§ initWithFieldName:sortOrder:()

- (instancetype) initWithFieldName: (NSString *)  fieldName
sortOrder: (AGSSortOrder sortOrder 

Initialize the object with the provided parameters

Parameters
fieldNamebased on which the query results should be sorted
sortOrderspecifying how the results should be sorted
Returns
Initialized object
Since
100

§ orderByWithFieldName:sortOrder:()

+ (instancetype) orderByWithFieldName: (NSString *)  fieldName
sortOrder: (AGSSortOrder sortOrder 

Initialize the object with the provided parameters

Parameters
fieldNamebased on which the query results should be sorted
sortOrderspecifying how the results should be sorted
Returns
Initialized object
Since
100

Property Documentation

§ fieldName

- (NSString*) fieldName
readwritenonatomiccopy

The field based on which the query results should be sorted

Since
100

§ sortOrder

- (AGSSortOrder) sortOrder
readwritenonatomicassign

The order specifying how the query results should be sorted

Since
100