RSDProgressIndicator

open class RSDProgressIndicator: UIView

RSDProgressIndicator is an animatable abstract view that marks progress. Override the progressLayer property to show progress using a shape layer. See RSDCountdownDial for an example implementation.

  • The progress of the indicator.

    Declaration

    Swift

    open var progress: CGFloat
  • Set the progress position for the view using an animation duration.

    Declaration

    Swift

    open func setProgressPosition(_ newValue: CGFloat, animationDuration: TimeInterval)

    Parameters

    newValue

    The new value of the progress at the end of the animation.

    animationDuration

    The duration of the animation.

  • Override to implement progress layer.

    Declaration

    Swift

    open var progressLayer: CAShapeLayer!