CGA_WatchOS_CharacteristicTables_Switch
class CGA_WatchOS_CharacteristicTables_Switch : CGA_WatchOS_CharacteristicTables_Base
This is a switch, for notification.
-
The switch object.
Declaration
Swift
@IBOutlet weak var switchObject: WKInterfaceSwitch! -
This is called when the switch changes value, and changes the notification state.
Declaration
Swift
@IBAction func switchChanged(_ inValue: Bool)Parameters
inValueThe new switch value.
View on GitHub
CGA_WatchOS_CharacteristicTables_Switch Class Reference