diff --git a/src/private/CABasicAnimation+MotionAnimator.m b/src/private/CABasicAnimation+MotionAnimator.m index 42cb562..b03c6fe 100644 --- a/src/private/CABasicAnimation+MotionAnimator.m +++ b/src/private/CABasicAnimation+MotionAnimator.m @@ -27,7 +27,10 @@ animation = nil; break; +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wdeprecated-declarations" case MDMMotionCurveTypeDefault: +#pragma clang diagnostic pop case MDMMotionCurveTypeBezier: animation = [CABasicAnimation animation]; animation.timingFunction = MDMTimingFunctionWithControlPoints(timing.curve.data);