Instance Property

nextState

The cell’s next state.

Declaration

@property(readonly) NSInteger nextState;

Discussion

If a cell has three states, it cycles in this order: on, off, mixed, on, off, and so forth. If the cell has only two states, it toggles between them.

For a list of constants representing the possible cell states, see NSCellStateValue.

See Also

Managing Cell State

allowsMixedState

A Boolean value indicating whether the cell supports three states instead of two.

- setNextState

Changes cell’s state to the next value in the sequence.

state

The cell’s current state.