This repository was archived by the owner on Jan 19, 2022. It is now read-only.
Version 1.5.0
Version 1.5.0
Highlight: Major refactoring and making properties safer/easier to use.
- Refactored the
ringStyle
property toibRingStyle
and made unavailable for use with code (see below) - Refactored
outerRingCapStyle
, andinnerRingCapStyle
into new properties and made them unavailable for code use. As these properties will only be used for interface builder, while I patiently wait for Apple to allow enums in IBInspectable properties - Added new
ringStyle
which uses new typeUICircularProgressRingStyle
enum to make it easier and safer to assign a style to the progress ring - Added new
outCapStyle
andinCapStyle
enum properties of typeCGCapStyle
which again, allow for easer and safer assignment of progress ring cap styles in code. - Refactored most of the source code to maintain a max line width of 80, cause I'm insane like that
- Updated documentation
Breaking Changes in 1.5.0
Due to the refactoring, any code which previously used these properties will have to use the new enumerations provided (sorry).
Also, since the ringStyle
property was changed to ibRingStyle
then any customized ring style inside of Interface Builder will need to be updated to use the new property, you may see a warning from interface builder. To fix these warnings: Go into the class inspector of the view, under User Defined Run Time Attributes
remove any of the ringStyle
values. Then refresh the views by doing Editor -> Refresh Views