RiValT_Settings_ViewController
@MainActor
class RiValT_Settings_ViewController : RiValT_Base_ViewController
This is a simple popover that shows a list of checkboxes and buttons, affecting global app preferences.
-
The storyboard ID for instantiating the class.
Declaration
Swift
@MainActor static let storyboardID: String
-
The checkbox for the “Start Immediately” preference.
Declaration
Swift
@IBOutlet @MainActor weak var startImmediatelyCheckbox: RVS_Checkbox?
-
The label for the preference. It is actually a button, which toggles the setting.
Declaration
Swift
@IBOutlet @MainActor weak var startImmediatelyLabelButton: UIButton?
-
The checkbox for the “One-Tap Edit” preference.
Declaration
Swift
@IBOutlet @MainActor weak var oneTapEditCheckbox: RVS_Checkbox?
-
The label for the preference. It is actually a button, which toggles the setting.
Declaration
Swift
@IBOutlet @MainActor weak var oneTapEditLabelButton: UIButton?
-
The checkbox for the “Show Toolbar” preference.
Declaration
Swift
@IBOutlet @MainActor weak var showToolbarCheckbox: RVS_Checkbox?
-
The label for the preference. It is actually a button, which toggles the setting.
Declaration
Swift
@IBOutlet @MainActor weak var showToolbarLabelButton: UIButton?
-
The checkbox for the “Auto-Hide Toolbar” preference.
Declaration
Swift
@IBOutlet @MainActor weak var autoHideToolbarCheckbox: RVS_Checkbox?
-
The label for the preference. It is actually a button, which toggles the setting.
Declaration
Swift
@IBOutlet @MainActor weak var autoHideToolbarLabelButton: UIButton?
-
This is a button that brings in the “About” screen.
Declaration
Swift
@IBOutlet @MainActor weak var showAboutScreenButton: UIButton?
-
This is the stack view that has the “Show Toolbar” pref.
Declaration
Swift
@IBOutlet @MainActor weak var showToolbarStackView: UIStackView?
-
This is the stack view that has the “Auto-Hide” checkbox. It only appears, if the “Show Toolbar” pref is on.
Declaration
Swift
@IBOutlet @MainActor weak var autoHideStackView: UIStackView?
-
This calculates the size needed for the popover, and sets the property, which causes the popover to change.
Declaration
Swift
@MainActor private func _setPreferredContentSize()
-
Called when the view has loaded.
Declaration
Swift
@MainActor override func viewDidLoad()
-
Called when the preference is changed.
If the calling item is a button, the checkbox is toggled.
Declaration
Swift
@IBAction @MainActor func startImmediatelyCheckboxValueChanged(_ inButton: UIControl)
Parameters
inButton
The button (or chackbox).
-
Called when the preference is changed.
If the calling item is a button, the checkbox is toggled.
Declaration
Swift
@IBAction @MainActor func oneTapEditCheckboxValueChanged(_ inButton: UIControl)
Parameters
inButton
The button (or chackbox).
-
Called when the preference is changed.
If the calling item is a button, the checkbox is toggled.
Declaration
Swift
@IBAction @MainActor func showToolbarCheckboxValueChanged(_ inButton: UIControl)
Parameters
inButton
The button (or chackbox).
-
Called when the preference is changed.
If the calling item is a button, the checkbox is toggled.
Declaration
Swift
@IBAction @MainActor func autoHideToolbarCheckboxValueChanged(_ inButton: UIControl)
Parameters
inButton
The button (or chackbox).
-
Called when the “Show About” button is hit.
Declaration
Swift
@IBAction @MainActor func aboutButtonHit(_ inButton: UIButton)
Parameters
inButton
The button item (ignored).
-
This displays the “advisory” alert, if the toolbar pref is turned off.
Declaration
Swift
@MainActor func displayAdvisoryAlert()