Instance Method

setNextState

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

Declaration

- (void)setNextState;

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.

See Also

Managing Cell State

allowsMixedState

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

nextState

The cell’s next state.

state

The cell’s current state.