Skip to content

Commit eeb5d77

Browse files
authored
Merge pull request #33 from julienwidmer/patch-1
Use of unresolved identifier 'kCAFillModeForwards'
2 parents 1a0abf8 + 13ed593 commit eeb5d77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Pastel/Classes/PastelView.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ open class PastelView: UIView {
103103
let animation = CABasicAnimation(keyPath: Animation.keyPath)
104104
animation.duration = animationDuration
105105
animation.toValue = currentGradientSet()
106-
animation.fillMode = kCAFillModeForwards
106+
animation.fillMode = .forwards
107107
animation.isRemovedOnCompletion = false
108108
animation.delegate = self
109109
gradient.add(animation, forKey: Animation.key)

0 commit comments

Comments
 (0)