Skip to content

iOSSwitch

iOS Switch.

Extends iOSObject

Behavior Pattern: iOSObjectSwitchBehavior

Property Summary

Property Description Getter Setter
Checked Check state of the button. GetChecked SetChecked

Action Summary

Action Description
DoSetCheck Sets check state of the object.

Property Detail

Checked

Check state of the button. 'true' if the button is checked, 'false' otherwise.

Type: boolean

Accessors: GetChecked, SetChecked

value = SeS('SomeiOSSwitch').GetChecked()

SeS('SomeiOSSwitch').SetChecked(value)

Action Detail

DoSetCheck

Sets check state of the object.

SeS('SomeiOSSwitch').DoSetCheck(bcheck)

Parameters:

Name Type Description
bcheck boolean Desired check state for the item.

Returns:

boolean: 'true' if success, 'false' otherwise.