You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 19, 2022. It is now read-only.
- Add a property for accessing the current value of the progress ring while animating, closes [issue #14](#14)
- Add fix for removing a currently running animation when calling `setProgress(:)` while ring is animating, closes [issue #19](#19)
- Fixed access levels for variables and functions, changed from `public` to `open` to allow subclassing.
- Updated `docs` by running Jazzy
Copy file name to clipboardexpand all lines: CHANGELOG.md
+8
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,11 @@
1
+
# Version 1.3.0
2
+
3
+
- Add a property for accessing the current value of the progress ring while animating, closes [issue #14](https://github.com/luispadron/UICircularProgressRing/issues/14)
4
+
- Add fix for removing a currently running animation when calling `setProgress(:)` while ring is animating, closes [issue #19](https://github.com/luispadron/UICircularProgressRing/issues/19)
5
+
- Fixed access levels for variables and functions, changed from `public` to `open` to allow subclassing.
Set the ring layer to the default layer, cated as custom layer
512
533
*/
513
-
varringLayer:UICircularProgressRingLayer{
534
+
internalvarringLayer:UICircularProgressRingLayer{
514
535
returnself.layer as!UICircularProgressRingLayer
515
536
}
516
537
@@ -592,20 +613,22 @@ import UIKit
592
613
publictypealiasProgressCompletion=(()->Void)
593
614
594
615
/**
595
-
Sets the current value for the progress ring
616
+
Sets the current value for the progress ring, calling this method while ring is animating will cancel the previously set animation and start a new one.
596
617
597
618
- Parameter newVal: The value to be set for the progress ring
598
619
- Parameter animationDuration: The time interval duration for the animation
599
620
- Parameter completion: The completion closure block that will be called when animtion is finished (also called when animationDuration = 0), default is nil
600
621
601
622
## Important ##
602
-
Animatin duration = 0 will cause no animation to occur
623
+
Animatin duration = 0 will cause no animation to occur, and value will instantly be set
0 commit comments