-
Notifications
You must be signed in to change notification settings - Fork 0
CircularProgressView
olejnjak edited this page Jan 9, 2023
·
2 revisions
Progress view that is in the shape of a circle
public final class CircularProgressView: UIView
It draws itself within specified rect.
The size is derived from the size of the rect where the smaller dimension (width / height) is used.
The view itself is drawn in the middle of the rect.
As a primary color is used tintColor
of the view.
UIView
Current progress
public var progress: CGFloat = 0
This value should be in the range between 0 and 1. If the value is out of the range its automatically adjusted.
Line width of the circular progress view
public var lineWidth: CGFloat = 2
Color applied on the background circle
public var secondaryTintColor
public override func draw(_ rect: CGRect)
Generated at 2023-05-17T13:25:21+0000 using swift-doc 1.0.0-rc.1.