github luispadron/UICircularProgressRing v1.4.0
Version 1.4.0

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

Version 1.4.0

  • Remove the fontSize and customFontWithName properties
  • Add new font property of type UIFont to handle all font related configuration
  • Update documentation to include changes

Breaking API Changes in 1.4.0

  • Since no longer using fontSize or customFontWithName any projects using these properties will break until updated to newer font and to use UIFont.
  • Any interface builder views which used fontSize or customFontWithName will now complain about breaking. To fix this simply go into the class inspector of the view, under User Defined Run Time Attributes remove any of the fontSize or customFontWithName values. Then refresh the views by doing Editor -> Refresh Views

Why was this done?

This made sense to do because it was slightly confusing how to accomplish fonts and interface builder since apple does not add support for IBDesignable fonts. I've decided to sacrifice the interface builder support for code only font management, because this leads to safer use of fonts since the view is no longer handeling the creation of UIFont itself. This also adds more customization to the view since previously you could only change the font size and font. Now users can do whatever is allowed with UIFont, such as using defined font families, etc

Don't miss a new UICircularProgressRing release

NewReleases is sending notifications on new releases.