Skip to content

Commit

Permalink
Merge pull request #33 from julienwidmer/patch-1
Browse files Browse the repository at this point in the history
Use of unresolved identifier 'kCAFillModeForwards'
  • Loading branch information
cruisediary committed Sep 23, 2018
2 parents 1a0abf8 + 13ed593 commit eeb5d77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Pastel/Classes/PastelView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ open class PastelView: UIView {
let animation = CABasicAnimation(keyPath: Animation.keyPath)
animation.duration = animationDuration
animation.toValue = currentGradientSet()
animation.fillMode = kCAFillModeForwards
animation.fillMode = .forwards
animation.isRemovedOnCompletion = false
animation.delegate = self
gradient.add(animation, forKey: Animation.key)
Expand Down

0 comments on commit eeb5d77

Please sign in to comment.