CGA_SettingsViewController
class CGA_SettingsViewController : CGA_BaseViewController
extension CGA_SettingsViewController: CGA_UpdatableScreenViewController
-
If on, then devices will be continuously updated.
Declaration
Swift
@IBOutlet weak var continuousUpdateSwitch: UISegmentedControl!
-
The switch that controls whether or not to allow non-connectable devices to be discovered.
Declaration
Swift
@IBOutlet weak var onlyConnectableSwitch: UISegmentedControl!
-
The switch that controls whether or not to allow empty names.
Declaration
Swift
@IBOutlet weak var allowEmptyNamesSwitch: UISegmentedControl!
-
The label for the RSSI Segmented Switch.
Declaration
Swift
@IBOutlet weak var minRSSILabel: UILabel!
-
This contains 11 possible values for the minimum RSSI.
Declaration
Swift
@IBOutlet weak var minRSSISegmentedSwitch: UISegmentedControl!
-
This sets up localizations for a segmented switch, based on slugs in the resource.
Declaration
Swift
class func setSwitchSegmentLocalizations(_ inSwitch: UISegmentedControl?)
Parameters
inSwitch
The Segmented Control (optional)
-
This sets up the accessibility and voiceover strings for the screen.
Declaration
Swift
func setUpAccessibility()
-
Sets the segmented switch to the proper item.
Declaration
Swift
func setSegmentedSwitchIndex()
-
Called just after the view hierarchy has loaded.
Declaration
Swift
override func viewDidLoad()
-
Called just before the view will disappear.
Declaration
Swift
override func viewWillDisappear(_ inAnimated: Bool)
Parameters
inAnimated
ignored, but passed to the superclas.
-
This simply makes sure that the table is displayed if BT is available, or the “No BT” image is shown, if it is not.
Declaration
Swift
func updateUI()