Inherits from IGGridViewCellBase : UIView
Declared in IGGridViewCell.h

Overview

IGGridViewCell is the base class for all display cells in the IGGridView. It’s a visual that maps to a coordinate system (IGCellPath) of Section, Row and Column.

Thie IGGridViewCell can be selected, and you can control the selection appearance for a cell using it’s selectedView and selectedColor properties.

The main display element of an IGGridViewCell is the textLabel which can be used to display text for the cell.

Tasks

Display

  •   textLabel

    Returns the label used for the main textual content of the grid cell.

    property

Selection

  •   selectedView

    A view that will be displayed on top of the cell, when it is selected.

    property
  •   selectedColor

    A color that will be used as the background color of the cell when it is selected.

    property

Properties

selectedColor

A color that will be used as the background color of the cell when it is selected.

@property (nonatomic, retain) UIColor *selectedColor

Discussion

If you would like no background color, you can set this property to clearColor.

Declared In

IGGridViewCell.h

selectedView

A view that will be displayed on top of the cell, when it is selected.

@property (nonatomic, retain) UIView *selectedView

Discussion

The view provided will be sized to the frame of the cell.

Declared In

IGGridViewCell.h

textLabel

Returns the label used for the main textual content of the grid cell.

@property (nonatomic, readonly, retain) UILabel *textLabel

Discussion

You can use this property to change styling options such as text color and text alignment

Declared In

IGGridViewCell.h