RiValT_CirlcleDisplayView
@MainActor
class RiValT_CirlcleDisplayView : UIView
This draws the circle that represents elapsed time.
It does this by creating layers, each containing the portion of the timer that represents a threshold.
-
The proportion of the total display, occupied by this display.
Declaration
Swift
@MainActor private static let _circleRadiusProportion: CGFloat
-
The opacity, when the display is disabled.
Declaration
Swift
@MainActor private static let _disabledOpacity: Float
-
The timer assigned to this instance.
Declaration
Swift
@MainActor weak var timer: Timer? { get set }
-
Called when the subviews are laid out. We create the circle here.
Declaration
Swift
@MainActor override func layoutSubviews()