RSDProgressIndicator
@IBDesignable
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
@IBInspectable open var progress: CGFloat { get set } -
Set the progress position for the view using an animation duration.
Declaration
Swift
open func setProgressPosition(_ newValue: CGFloat, animationDuration: TimeInterval)Parameters
newValueThe new value of the progress at the end of the animation.
animationDurationThe duration of the animation.
-
Override to implement progress layer.
Declaration
Swift
open var progressLayer: CAShapeLayer! { get }
View on GitHub
RSDProgressIndicator Class Reference