                             let animGroup = CAAnimationGroup()
                             animGroup.beginTime = totalDuration + animDesc.delay
                             animGroup.duration = animDesc.duration
-                            animGroup.fillMode = kCAFillModeForwards
+                            animGroup.fillMode = .forwards
                             animGroup.animations = [CAAnimation]()
                             animGroup.isRemovedOnCompletion = false
                             

            chainedAnim.duration = totalDuration
            chainedAnim.repeatCount = repeatCount
            chainedAnim.autoreverses = reverses
            chainedAnim.fillMode = kCAFillModeForwards
            chainedAnim.isRemovedOnCompletion = false
            
            view.layer.add(chainedAnim, forKey: animKey)

                        let animGroup = CAAnimationGroup()
                        animGroup.beginTime = totalDuration + animDesc.delay
                        animGroup.duration = animDesc.duration
                        animGroup.fillMode = .forwards
                        animGroup.animations = [CAAnimation]()
                        animGroup.isRemovedOnCompletion = false

