Instance Property

selected

The selection state of the cell.

Declaration

@property(nonatomic, getter=isSelected) BOOL selected;

Discussion

This property manages the selection state of the cell only. The default value of this property is NO, which indicates that the cell is not selected.

You typically do not set the value of this property directly. Changing the value of this property programmatically does not change the appearance of the cell. The preferred way to select the cell and highlight it is to use the selection methods of the collection view object.

See Also

Managing the Cell’s State

highlighted

The highlight state of the cell.