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

Commit

Permalink
Fix bug where animationStyle was not being set
Browse files Browse the repository at this point in the history
Update podspec to 1.1.3
  • Loading branch information
Luis Padron authored and Luis Padron committed Oct 29, 2016
1 parent df3c7e0 commit 250a99c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion UICircularProgressRing.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Pod::Spec.new do |s|

s.name = "UICircularProgressRing"
s.version = "1.1.2"
s.version = "1.1.3"
s.summary = "A highly customizable circular progress bar for iOS written in Swift 3"

s.description = <<-DESC
Expand Down
6 changes: 5 additions & 1 deletion UICircularProgressRing/UICircularProgressRingView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,11 @@ import UIKit
## Author:
Luis Padron
*/
public var animationStyle: String = kCAMediaTimingFunctionEaseIn
public var animationStyle: String = kCAMediaTimingFunctionEaseIn {
didSet {
self.ringLayer.animationStyle = self.animationStyle
}
}

// MARK: CALayer

Expand Down

0 comments on commit 250a99c

Please sign in to comment.