github luispadron/UICircularProgressRing v1.5.0
Version 1.5.0

latest releases: v8.0.0, v7.0.0, v6.5.0...
6 years ago

Version 1.5.0

Highlight: Major refactoring and making properties safer/easier to use.

  • Refactored the ringStyle property to ibRingStyle and made unavailable for use with code (see below)
  • Refactored outerRingCapStyle, and innerRingCapStyle 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 type UICircularProgressRingStyle enum to make it easier and safer to assign a style to the progress ring
  • Added new outCapStyle and inCapStyle enum properties of type CGCapStyle 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

Don't miss a new UICircularProgressRing release

NewReleases is sending notifications on new releases.