Skip to content
This repository was archived by the owner on Jan 19, 2022. It is now read-only.

Commit 250a99c

Browse files
Luis PadronLuis Padron
Luis Padron
authored and
Luis Padron
committed
Fix bug where animationStyle was not being set
Update podspec to 1.1.3
1 parent df3c7e0 commit 250a99c

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

UICircularProgressRing.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Pod::Spec.new do |s|
33

44
s.name = "UICircularProgressRing"
5-
s.version = "1.1.2"
5+
s.version = "1.1.3"
66
s.summary = "A highly customizable circular progress bar for iOS written in Swift 3"
77

88
s.description = <<-DESC

UICircularProgressRing/UICircularProgressRingView.swift

+5-1
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,11 @@ import UIKit
486486
## Author:
487487
Luis Padron
488488
*/
489-
public var animationStyle: String = kCAMediaTimingFunctionEaseIn
489+
public var animationStyle: String = kCAMediaTimingFunctionEaseIn {
490+
didSet {
491+
self.ringLayer.animationStyle = self.animationStyle
492+
}
493+
}
490494

491495
// MARK: CALayer
492496

0 commit comments

Comments
 (0)