IGCellPath Class Reference

Inherits from IGRowPath : NSObject
Declared in IGCellPath.h

Overview

IGCellPath is a coordinate system in the IGGridView for identifying a specific cell with in the IGGridView.

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

– initForRow:inSection:inColumn:

Creates a IGCellPath using the specified coordinates.

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

Parameters

row

The index of a row within a section

section

The index of a section within the IGGridView

column

The index of a column within the row

Return Value

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

Declared In

IGCellPath.h

+ pathForRow:inSection:inColumn:

Creates a IGCellPath using the specified coordinates.

+ (IGCellPath *)pathForRow:(NSInteger)row inSection:(NSInteger)section inColumn:(NSInteger)column

Parameters

row

The index of a row within a section

section

The index of a section within the IGGridView

column

The index of a column within the row

Return Value

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

Declared In

IGCellPath.h

– initForRow:inSection:inColumn:isFixed:

Creates a IGCellPath using the specified coordinates.

- (instancetype)initForRow:(NSInteger)row inSection:(NSInteger)section inColumn:(NSInteger)column isFixed:(IGGridViewFixedColumnDirection)fixed

Parameters

row

The index of a row within a section

section

The index of a section within the IGGridView

column

The index of a column within the row

fixed

Whether the column is fixed

Return Value

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

Declared In

IGCellPath.h

– initForRow:inSection:inColumn:isFixed:isRowFixed:

- (instancetype)initForRow:(NSInteger)row inSection:(NSInteger)section inColumn:(NSInteger)column isFixed:(IGGridViewFixedColumnDirection)fixed isRowFixed:(IGGridViewFixedRowDirection)rowFixed

+ pathForRow:inSection:inColumn:isFixed:

Creates a IGCellPath using the specified coordinates.

+ (IGCellPath *)pathForRow:(NSInteger)row inSection:(NSInteger)section inColumn:(NSInteger)column isFixed:(IGGridViewFixedColumnDirection)fixed

Parameters

row

The index of a row within a section

section

The index of a section within the IGGridView

column

The index of a column within the row

fixed

Whether the column is fixed

Return Value

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

Declared In

IGCellPath.h

+ pathForRow:inSection:inColumn:isFixed:isRowFixed:

+ (IGCellPath *)pathForRow:(NSInteger)row inSection:(NSInteger)section inColumn:(NSInteger)column isFixed:(IGGridViewFixedColumnDirection)fixed isRowFixed:(IGGridViewFixedRowDirection)rowFixed

– cloneCell

Creates a duplicate instance of the existing path

- (IGCellPath *)cloneCell

Declared In

IGCellPath.h

  columnIndex

The index of a column within the row

@property (nonatomic, readonly) NSInteger columnIndex

Declared In

IGCellPath.h

  isFixed

Whether the path represents a fixed cell

@property (nonatomic, readonly) IGGridViewFixedColumnDirection isFixed

Declared In

IGCellPath.h