RVS_SettingsAmbiaMara_PopoverViewController
class RVS_SettingsAmbiaMara_PopoverViewController : UIViewController
This is the view controller for the about screen.
-
The height of the popover, in display units, if voiceover is running. If voiceover is running, then we don’t allow the toolbar to be hidden, so those controls are hidden.
Declaration
Swift
private static let _voiceoverRunningHeightInDisplayUnits: CGFloat
-
The height of the popover, if voiceover is not running.
Declaration
Swift
private static let _regularHeightInDisplayUnits: CGFloat
-
This will provide haptic/audio feedback for popover events.
Declaration
Swift
private var _selectionFeedbackGenerator: UISelectionFeedbackGenerator?
-
The storyboard ID for this controller.
Declaration
Swift
static let storyboardID: String
-
This references the presenting view controller.
Declaration
Swift
weak var myController: RVS_SetTimerAmbiaMara_ViewController?
-
The switch that controls whether or not the running timer starts immediately, or as paused.
Declaration
Swift
@IBOutlet weak var popoverStartImmediatelySwitch: UISwitch?
-
The label for the switch is actually a button.
Declaration
Swift
@IBOutlet weak var popoverStartImmediatelySwitchLabelButton: UIButton?
-
The container for the toolbar display prefs.
Declaration
Swift
@IBOutlet weak var toolbarContainerStackView: UIView?
-
The switch that controls whether or not the running timer has a toolbar, displayed at the top.
Declaration
Swift
@IBOutlet weak var popoverDisplayToolbarSwitch: UISwitch?
-
The label for the switch is actually a button.
Declaration
Swift
@IBOutlet weak var popoverDisplayToolbarSwitchLabelButton: UIButton?
-
The container stack view for the auto-hide switch.
Declaration
Swift
@IBOutlet weak var autoHideContainerStackView: UIView?
-
A label that acts as a “shim” for the auto-hide switch. We hide this, for Mac.
Declaration
Swift
@IBOutlet weak var auotHideIndentLabel: UILabel?
-
The switch that sets whether or not the toolbar “hides,” when running. This is disabled, if not in Toolbar Mode.
Declaration
Swift
@IBOutlet weak var popoverDisplayAutoHideSwitch: UISwitch?
-
The label for the switch is actually a button.
Declaration
Swift
@IBOutlet weak var popoverDisplayAutoHideSwitchLabelButton: UIButton?
-
The segmented switch that indicates whether digital or stoplight mode.
Declaration
Swift
@IBOutlet weak var timerModeSegmentedSwitch: UISegmentedControl?
-
The button that shows us the about screen.
Declaration
Swift
@IBOutlet weak var aboutAmbiaMaraButton: UIButton?
-
The popover height.
Declaration
Swift
class var settingsPopoverHeightInDisplayUnits: CGFloat { get }
-
Called when the hierarchy has loaded. We use this to set the screen up, and apply accessibility.
Declaration
Swift
override func viewDidLoad()
-
Called just before the screen disappears.
Declaration
Swift
override func viewWillDisappear(_ inAnimated: Bool)
Parameters
inIsAnimated
True, if the disappearance is animated.
-
The auto-hide switch, or its label, was hit.
Declaration
Swift
@IBAction func popoverDisplayAutoHideSwitchHit(_ inSender: UIControl)
Parameters
inSender
The control that was selected.
-
This dismisses the popover, and shows the about screen.
Declaration
Swift
@IBAction func showAboutScreen(_: Any)
-
The switch or button for start immediately was hit.
Declaration
Swift
@IBAction func popoverStartImmediatelySwitchChanged(_ inSender: UIControl)
Parameters
inSender
the switch or the button.
-
The switch or button for display toolbar was hit.
Declaration
Swift
@IBAction func popoverDisplayToolbarSwitchChanged(_ inSender: UIControl)
Parameters
inSender
the switch or the button.
-
The switch or button for timer mode was hit.
Declaration
Swift
@IBAction func timerModeSegmentedSwitchChanged(_ inSender: UISegmentedControl)
Parameters
inSender
the segmented control for the timer mode..