A circular progress bar for iOS written in Swift
Adds Swift Package Manager support
Fix border width calculation to allow proper fitting of view within given bounds. Thanks to @ zulkis for the PR.
UICircularRingStyle
which made it impossible to have both a gradient and outer ring style, etc.UICircularRingValueFormatter
works. It's now a simple protocol which anyone can conform to. There are two concrete implementations from 5.0.0 which can still be used, however, they're now struct
s so cannot be mutated..style
property now doesnt allow setting .gradient
, this API has been broken. Instead, use the new .gradientOptions
property to set a gradient, and .style
if you need extra styling on top of gradient.
syntax. Instead create a brand new formatter and assign to the .valueFormatter
property. This will be over all much better in the future, less state and structs are cool!