RVS_BTDriver_iOS_Test_Harness_SettingsViewController
class RVS_BTDriver_iOS_Test_Harness_SettingsViewController : UIViewController
-
These represent the persistent state.
Declaration
Swift
let prefs: RVS_BTDriver_Test_Harness_Prefs
-
This is the switch that controls the “Use A Different Thread” pref.
Declaration
Swift
@IBOutlet weak var threadSwitch: UISwitch!
-
This is a button that acts like a label, but allows the switch to toggle like a Web control.
Declaration
Swift
@IBOutlet weak var threadToggleButton: UIButton!
-
This is the switch that controls the “Show Duplicates In Scans” pref.
Declaration
Swift
@IBOutlet weak var scanSwitch: UISwitch!
-
This is a button that acts like a label, but allows the switch to toggle like a Web control.
Declaration
Swift
@IBOutlet weak var scanToggleButton: UIButton!
-
This is the persistent connections prefs switch.
Declaration
Swift
@IBOutlet weak var persistentConnectionsSwitch: UISwitch!
-
This is the toggle value button for the persistent connections switch.
Declaration
Swift
@IBOutlet weak var persistentConnectionsToggleButton: UIButton!
-
Called when the thread switch changes state.
Declaration
Swift
@IBAction func threadSwitchChanged(_ inSwitch: UISwitch)
Parameters
inSwitch
The switch object.
-
Called when the scan switch changes state.
Declaration
Swift
@IBAction func scanSwitchChanged(_ inSwitch: UISwitch)
Parameters
inSwitch
The switch object.
-
Called when the persistent connections switch changes.
Declaration
Swift
@IBAction func persistentConnectionsSwitchChanged(_ inSwitch: UISwitch)
Parameters
inSwitch
The switch object.
-
Called when the label/button is tapped. It toggles the state of the pref (and the switch).
Declaration
Swift
@IBAction func threadSwitchToggleHit(_ inButton: UIButton)
Parameters
inButton
The button object.
-
Called when the label/button is tapped. It toggles the state of the pref (and the switch).
Declaration
Swift
@IBAction func scanSwitchToggleHit(_ inButton: UIButton)
Parameters
inButton
The button object.
-
Called when the label/button is tapped. It toggles the state of the pref (and the switch).
Declaration
Swift
@IBAction func persistSwitchToggleHit(_ inButton: UIButton)
Parameters
inButton
The button object.
-
Make sure that we display the navbar.
Declaration
Swift
override func viewWillAppear(_ inAnimated: Bool)
Parameters
inAnimated
Ignored, but sent to the superclass.