Inherits from NSObject
Declared in IGRowPath.h

Overview

IGRowPath is a coordinate system in the IGGridView for identifying a specific row with in a specific section of data.

You can get a string representation of the path by using the description property.

Properties

isRowFixed

Whether the path represents a fixed row.

@property (nonatomic, readonly) IGGridViewFixedRowDirection isRowFixed

Declared In

IGRowPath.h

rowIndex

The index of a row within a section

@property (nonatomic, readonly) NSInteger rowIndex

Declared In

IGRowPath.h

sectionIndex

The index of a section within the IGGridView

@property (nonatomic, readonly) NSInteger sectionIndex

Declared In

IGRowPath.h

Class Methods

pathForFixedTopRow:

Creates a fixed top IGRowPath using the specified row index.

+ (IGRowPath *)pathForFixedTopRow:(NSInteger)row

Parameters

row

The index of the fixed row.

Return Value

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

Declared In

IGRowPath.h

pathForRow:inSection:

Creates a IGRowPath using the specified coordinates.

+ (IGRowPath *)pathForRow:(NSInteger)row inSection:(NSInteger)section

Parameters

row

The index of a row within a section

section

The index of a section within the IGGridView

Return Value

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

Declared In

IGRowPath.h

Instance Methods

cloneRow

Creates a duplicate instance of the existing path

- (IGRowPath *)cloneRow

Declared In

IGRowPath.h

convertToCellPath

- (IGCellPath *)convertToCellPath

convertToCellPath:

- (IGCellPath *)convertToCellPath:(NSInteger)column

convertToCellPath:fixed:

- (IGCellPath *)convertToCellPath:(NSInteger)column fixed:(IGGridViewFixedColumnDirection)fixedColDir

initForRow:inSection:

Creates a IGRowPath using the specified coordinates.

- (instancetype)initForRow:(NSInteger)row inSection:(NSInteger)section

Parameters

row

The index of a row within a section

section

The index of a section within the IGGridView

Return Value

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

Declared In

IGRowPath.h

initForRow:inSection:isRowFixed:

Creates a IGRowPath using the specified coordinates.

- (instancetype)initForRow:(NSInteger)row inSection:(NSInteger)section isRowFixed:(IGGridViewFixedRowDirection)fixed

Parameters

row

The index of a row within a section

section

The index of a section within the IGGridView

fixed

Whether the row is fixed.

Return Value

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

Declared In

IGRowPath.h