Inherits from NSObject
Declared in IGGridViewDataSourceHelper.h

Overview

IGGridViewSortedColumn is an object that is used by the IGGridViewDataSourceHelper classes to identify fields that should be sorted.

You can use the sortDirection property to determine the direction in which a particular field should be sorted.

Properties

fieldName

The name of the property that should be sorted (readonly)

@property (nonatomic, readonly) NSString *fieldName

Declared In

IGGridViewDataSourceHelper.h

sortDirection

The direction that the data for the field should be sorted in.

@property (nonatomic, assign) IGGridViewSortedColumnDirection sortDirection

Declared In

IGGridViewDataSourceHelper.h

Instance Methods

initWithField:forDirection:

Creates an IGGridViewSortedColumn for the specified property name and direction.

- (instancetype)initWithField:(NSString *)field forDirection:(IGGridViewSortedColumnDirection)direction

Parameters

field

A string that maps to an actual property on your underlying data object.

direction

The direction in which the data should be sorted for that field.

Return Value

Returns an initialized IGGridViewSortedColumn object or nil if the object could not be successfully initialized.

Declared In

IGGridViewDataSourceHelper.h