Skip to content

Commit

Permalink
Updated swift version in podspec
Browse files Browse the repository at this point in the history
  • Loading branch information
shndrs committed Feb 7, 2021
1 parent bdb9797 commit 1654e1c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion SHNDStuffs.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Pod::Spec.new do |s|
s.author = { 'sahandraeisi1994@gmail.com' => 'sahandraeisi@yahoo.com' }
s.source = { :git => 'https://github.com/shndrs/SHNDStuffs.git', :tag => s.version.to_s }
s.ios.deployment_target = '9.0'
s.swift_version = '4.0'
s.swift_version = '5.3'
s.source_files = 'SHNDStuffs/Classes/**/*'
s.frameworks = 'UIKit'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public struct AnimationElements {
extension SHNDButton {

@available(iOS 9.0, *)
public func SHNDButtonAnimation(animationElements:AnimationElements) -> Void {
public func SHNDButtonAnimation(animationElements: AnimationElements) -> Void {
switch animationElements.animationMode {
case .pulsate:
pulsateAnimation(animationElements: animationElements)
Expand Down Expand Up @@ -62,7 +62,7 @@ extension SHNDButton {
flash.duration = animationElements.duration
flash.fromValue = 1
flash.toValue = 0.1
flash.timingFunction = CAMediaTimingFunction(name: CAMediaTimingFunctionName.easeInEaseOut)
flash.timingFunction = CAMediaTimingFunction(name: .easeInEaseOut)
flash.autoreverses = animationElements.autoreverses
flash.repeatCount = animationElements.repeatCount
layer.add(flash, forKey: nil)
Expand Down

0 comments on commit 1654e1c

Please sign in to comment.