RiValT_RunningTimer_Base_ViewController
@MainActor
class RiValT_RunningTimer_Base_ViewController : RiValT_Base_ViewController
This is a common base class, for the embedded running timers.
-
This aggregates our available sounds. The sounds are files, stored in the resources, so this simply gets them, and stores them as path URIs.
Declaration
Swift
@MainActor private var _soundSelection: [String]
-
The embedding controller.
Declaration
Swift
@MainActor weak var myContainer: RiValT_RunningTimer_ContainerViewController?
-
Declaration
Swift
@MainActor private var _isTimerRunning: Bool { get }
Return Value
True, if the timer is currently running.
-
Declaration
Swift
@MainActor private var _isAtStart: Bool { get }
Return Value
True, if the current time is at the “starting gate.”
-
Declaration
Swift
@MainActor private var _isAtEnd: Bool { get }
Return Value
True, if the current time is at the end.
-
Declaration
Swift
@MainActor private var _isWarning: Bool { get }
Return Value
True, if the current time is within the “warning” window.
-
Declaration
Swift
@MainActor private var _isFinal: Bool { get }
Return Value
True, if the current time is within the “final countdown” window.
-
The running timer.
Declaration
Swift
@MainActor weak var timer: Timer? { get }
-
Called, when the view hierarchy has been loaded.
Declaration
Swift
@MainActor override func viewDidLoad()
-
Called, when the view changes its layout.
Declaration
Swift
@MainActor override func viewDidLayoutSubviews()
-
This should be overriden, to refresh the display.
Declaration
Swift
@objc @MainActor func updateUI()