Contents

state()

Returns the state of the control.

Declaration

func state() -> Int

Return Value

NSOnState if the control is on; NSOffState otherwise.

See Also

Getting and Setting the Control’s State