Skip to content
This repository has been archived by the owner on Aug 30, 2023. It is now read-only.

Commit

Permalink
Silence a deprecation warning in motion interchange 1.3.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Verkoeyen committed Nov 9, 2017
1 parent b1289ea commit 29b551a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/private/CABasicAnimation+MotionAnimator.m
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 29b551a

Please sign in to comment.