RiValT_RunningTimer_Stoplights_ViewController

@MainActor
class RiValT_RunningTimer_Stoplights_ViewController : RiValT_RunningTimer_Base_ViewController

This implements the stoplights running timer display.

It displays three round circles, and highlights each one, as that threshold is reached.

  • The opacity, when the display is disabled.

    Declaration

    Swift

    @MainActor
    private static let _disabledOpacity: CGFloat
  • The stack view that contains the three stoplights.

    Declaration

    Swift

    @IBOutlet
    @MainActor
    var stoplightContainerInternalView: UIView?
  • This contains the green “stoplight.”

    Declaration

    Swift

    @IBOutlet
    @MainActor
    weak var greenLightImageView: UIImageView?
  • This contains the yellow “stoplight.”

    Declaration

    Swift

    @IBOutlet
    @MainActor
    weak var yellowLightImageView: UIImageView?
  • This contains the red “stoplight.”

    Declaration

    Swift

    @IBOutlet
    @MainActor
    weak var redLightImageView: UIImageView?

Base Class Overrides

  • This forces the display to refresh.

    Declaration

    Swift

    @MainActor
    override func updateUI()