RSDCountdownDial

@IBDesignable
public final class RSDCountdownDial : RSDProgressIndicator, RSDViewDesignable

RSDCountdownDial shows a circular dial indicator.

  • Point to the design system.

    Declaration

    Swift

    public var customDesignSystem: RSDDesignSystem?
  • The color of the circular ring that shows the track of the progress indicator.

    Declaration

    Swift

    @IBInspectable
    public var progressColor: UIColor { get set }
  • The color of the unfilled circular ring.

    Declaration

    Swift

    @IBInspectable
    public var ringColor: UIColor { get set }
  • Whether or not this countdown dial’s inner color uses light-style UI elements.

    Declaration

    Swift

    @IBInspectable
    public var usesLightStyle: Bool { get set }
  • The color of the inside of the circle.

    Declaration

    Swift

    @IBInspectable
    public var innerColor: UIColor { get set }
  • If the colorStyle is set, then this will determine the inner color and light style and will override any colors set by the storyboard or nib. This value is nil by default and can only be set programatically.

    Declaration

    Swift

    public var colorStyle: RSDColorRules.Style? { get set }
  • The background color mapping that this view should use as its key. Typically, for all but the top-level views, this will be the background of the superview.

    Declaration

    Swift

    public var backgroundColorTile: RSDColorTile? { get }
  • The design system for this component.

    Declaration

    Swift

    public private(set) var designSystem: RSDDesignSystem? {
      get
      }
  • Views can be used in nibs and storyboards without setting up a design system for them. This allows for setting up views to use the same design system and background color mapping as their parent view.

    Declaration

    Swift

    public func setDesignSystem(_ designSystem: RSDDesignSystem, with background: RSDColorTile)
  • The width of the circular ring that shows the track of the progress indicator.

    Declaration

    Swift

    @IBInspectable
    public var ringWidth: CGFloat { get set }
  • The width of the dial (progress indicator).

    Declaration

    Swift

    @IBInspectable
    public var dialWidth: CGFloat { get set }
  • Override to implement progress layer.

    Declaration

    Swift

    public override var progressLayer: CAShapeLayer! { get }