Instance Method

setNextState

Sets the button to its next state.

Declaration

- (void)setNextState;

Discussion

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

See Also

Managing Button State

allowsMixedState

A Boolean value that indicates whether the button allows a mixed state.

state

The button’s state.

- highlight:

Highlights (or unhighlights) the button.