This repository has been archived by the owner on Jan 19, 2022. It is now read-only.
Releases: luispadron/UICircularProgressRing
Releases · luispadron/UICircularProgressRing
Version 1.8.1
Version 1.8.1
- Fix bug with not checking
shouldAnimateProperties
in the progress ring layer.
Version 1.8.0
Version 1.8.0
Add new animateProperties(duration:animations:completion:)
method.
This allows you to animate any of the animatable properties of the UICircularProgressRing
, which currently are: innerRingColor
, innerRingWidth
, outerRingColor
, outerRingWidth
, innerRingSpacing
, fontColor
.
Example usage:
self.ring.animateProperties(duration: 1.5) {
// Animate things here
self.ring.innerRingColor = .purple
self.ring.outerRingColor = .blue
}
Version 1.7.7
Version 1.7.7
Add Objective-C support, thanks to @hohteri
Version 1.7.6
Version 1.7.6
Add Carthage Interface Builder support, thanks to @AbelToy.
Version 1.7.5
Version 1.7.5
- Add fix for progress ring requiring square frame
- Fix issue where height was set to width.
- Use min between height and width to calculate radius for both outer
and inner ring
Version 1.7.4
Version 1.7.4
Code optimization & Added missing test cases
- Refactored test cases to also test UICircularProgressRingLayer.
- Add missing test cases for new gradient members.
- Add explicit typing to local variables in order to speed up compilation.
- Add new Swift compiler flags to warn about long function/type inference compilation.
Version 1.7.3
Version 1.7.3
- Improved calculations for inner ring angle.
- Thanks to @jeffro256 for committing
Version 1.7.2
Version 1.7.2
- Add
s.ios.deployment_target = "8.0"
to Podspec, thanks to @younatics.
Version 1.7.1
Version 1.7.1
- Fix issue where outer ring width couldn't be smaller than inner ring width.
Thanks to: SwiftTsubame for the contribution.
Version 1.7.0
Version 1.7.0
Highlight: New UICircularProgressRingView.minValue
property.
- Add ability to set a range of values for the ring, unlike before where only
maxValue
could be set. You can now use the newminValue
to specify a range that the value can fall between. Read the docs to learn about any issues that may arise with setting avalue
less thanminValue
. - Fixed bugs related to how many degrees the inner ring for the progress ring draws. Everything should exact now even if not using the
fullCircle
property. - Fixed a bug which allowed setting a
value
less than zero. Read the docs to learn why this was an issue. - Refactored some unused code and tidied things up a bit
- Regenerated documentation using Jazzy