From 29b551ae730f1a48f37793c65bf14d761a544b6b Mon Sep 17 00:00:00 2001 From: Jeff Verkoeyen Date: Wed, 8 Nov 2017 19:33:02 -0500 Subject: [PATCH] Silence a deprecation warning in motion interchange 1.3.0. --- src/private/CABasicAnimation+MotionAnimator.m | 3 +++ 1 file changed, 3 insertions(+) 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);