This repository was archived by the owner on Jan 19, 2022. It is now read-only.
Version 6.0.0
Version 6.0.0
- Fixed issue with API of
UICircularRingStylewhich made it impossible to have both a gradient and outer ring style, etc. - Refactor way that
UICircularRingValueFormatterworks. 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 nowstructs so cannot be mutated.
Breaking Changes
- Due to the fact that both the
.styleproperty now doesnt allow setting.gradient, this API has been broken. Instead, use the new.gradientOptionsproperty to set a gradient, and.styleif you need extra styling on top of gradient - Because the value formatter are now structs, they cannot be modified with
.syntax. Instead create a brand new formatter and assign to the.valueFormatterproperty. This will be over all much better in the future, less state and structs are cool!