NGridCellCoordinate Class Reference

Inherits from NSObject
Conforms to NSCopying
Declared in NGridCellCoordinate.h

Overview

The NGridCellCoordinate class represents cell coordinate and defines a place of the cell in the grid. The coordinate includes type, row component and column component.

  type

Type of coordinate.

@property (readonly) NGridCellType type

Declared In

NGridCellCoordinate.h

  rowCoordinate

Row component of the coordinate.

@property (readonly) NSInteger rowCoordinate

Declared In

NGridCellCoordinate.h

  columnCoordinate

Column component of the coordinate.

@property (readonly) NSInteger columnCoordinate

Declared In

NGridCellCoordinate.h

+ coordinateForCellWithType:rowCoordinate:columnCoordinate:

Creates cell coordinate object.

+ (NGridCellCoordinate *)coordinateForCellWithType:(NGridCellType)type rowCoordinate:(NSInteger)rowCoordinate columnCoordinate:(NSInteger)columnCoordinate

Parameters

type

Type of the cell coordinate.

rowCoordinate

Row component of the cell coordinate.

columnCoordinate

Column component of the cell coordinate.

Declared In

NGridCellCoordinate.h