Annotate all libraries and APIs as To Be Deprecated.

PiperOrigin-RevId: 457604477
diff --git a/src/CATransaction+MotionAnimator.h b/src/CATransaction+MotionAnimator.h
index 1c28a25..f26ec5a 100644
--- a/src/CATransaction+MotionAnimator.h
+++ b/src/CATransaction+MotionAnimator.h
@@ -17,6 +17,9 @@
 #import <Foundation/Foundation.h>
 #import <QuartzCore/QuartzCore.h>
 
+API_DEPRECATED_BEGIN("Use standard UIKit/CALayer animation APIs instead.",
+                     ios(12, API_TO_BE_DEPRECATED))
+
 @interface CATransaction (MotionAnimator)
 
 /**
@@ -37,3 +40,5 @@
 + (void)mdm_setTimeScaleFactor:(nullable NSNumber *)timeScaleFactor;
 
 @end
+
+API_DEPRECATED_END
diff --git a/src/MDMAnimatableKeyPaths.h b/src/MDMAnimatableKeyPaths.h
index 9345f93..be815a6 100644
--- a/src/MDMAnimatableKeyPaths.h
+++ b/src/MDMAnimatableKeyPaths.h
@@ -17,6 +17,9 @@
 #import <Availability.h>
 #import <Foundation/Foundation.h>
 
+API_DEPRECATED_BEGIN("Use standard UIKit/CALayer animation APIs instead.",
+                     ios(12, API_TO_BE_DEPRECATED))
+
 // This macro is introduced in Xcode 9.
 #ifndef CF_TYPED_ENUM // What follows is backwards compat for Xcode 8 and below.
 #if __has_attribute(swift_wrapper)
@@ -268,3 +271,5 @@
  Additive animation supported: Yes.
  */
 FOUNDATION_EXPORT MDMAnimatableKeyPath MDMKeyPathZ NS_SWIFT_NAME(z);
+
+API_DEPRECATED_END
diff --git a/src/MDMCoreAnimationTraceable.h b/src/MDMCoreAnimationTraceable.h
index 42500b7..3361ca4 100644
--- a/src/MDMCoreAnimationTraceable.h
+++ b/src/MDMCoreAnimationTraceable.h
@@ -16,6 +16,9 @@
 
 #import <UIKit/UIKit.h>
 
+API_DEPRECATED_BEGIN("Use standard UIKit/CALayer animation APIs instead.",
+                     ios(12, API_TO_BE_DEPRECATED))
+
 /**
  An object conforming to this protocol allows registration of tracers for the purposes of debugging
  Core Animation animations.
@@ -28,3 +31,5 @@
 - (void)addCoreAnimationTracer:(nonnull void (^)(CALayer * _Nonnull, CAAnimation * _Nonnull))tracer;
 
 @end
+
+API_DEPRECATED_END
diff --git a/src/MDMMotionAnimator.h b/src/MDMMotionAnimator.h
index 483762d..3b9ef46 100644
--- a/src/MDMMotionAnimator.h
+++ b/src/MDMMotionAnimator.h
@@ -26,6 +26,9 @@
 #import "MDMAnimatableKeyPaths.h"
 #import "MDMCoreAnimationTraceable.h"
 
+API_DEPRECATED_BEGIN("Use standard UIKit/CALayer animation APIs instead.",
+                     ios(12, API_TO_BE_DEPRECATED))
+
 /**
  An animator adds Core Animation animations to a layer using animation traits.
  */
@@ -380,3 +383,5 @@
     __deprecated_msg("No longer needed for implicit animations of headless layers.");
 
 @end
+
+API_DEPRECATED_END
diff --git a/src/private/CABasicAnimation+MotionAnimator.h b/src/private/CABasicAnimation+MotionAnimator.h
index 39c6f8f..d0cd3dd 100644
--- a/src/private/CABasicAnimation+MotionAnimator.h
+++ b/src/private/CABasicAnimation+MotionAnimator.h
@@ -24,6 +24,9 @@
 #import <MotionInterchange/MotionInterchange.h>
 #endif
 
+API_DEPRECATED_BEGIN("Use standard UIKit/CALayer animation APIs instead.",
+                     ios(12, API_TO_BE_DEPRECATED))
+
 // Returns a basic animation configured with the provided traits and scale factor.
 FOUNDATION_EXPORT
 CABasicAnimation *MDMAnimationFromTraits(MDMAnimationTraits *traits, CGFloat timeScaleFactor);
@@ -38,3 +41,5 @@
 // Not all animation value types support being additive. If an animation's value type was not
 // supported, the animation's values will not be modified.
 FOUNDATION_EXPORT void MDMConfigureAnimation(CABasicAnimation *animation, MDMAnimationTraits *traits);
+
+API_DEPRECATED_END
diff --git a/src/private/CAMediaTimingFunction+MotionAnimator.h b/src/private/CAMediaTimingFunction+MotionAnimator.h
index 8790721..3cfbb0a 100644
--- a/src/private/CAMediaTimingFunction+MotionAnimator.h
+++ b/src/private/CAMediaTimingFunction+MotionAnimator.h
@@ -18,6 +18,11 @@
 #import <CoreGraphics/CoreGraphics.h>
 #import <QuartzCore/QuartzCore.h>
 
+API_DEPRECATED_BEGIN("Use standard UIKit/CALayer animation APIs instead.",
+                     ios(12, API_TO_BE_DEPRECATED))
+
 // Returns a timing function with the given control points.
 FOUNDATION_EXPORT
 CAMediaTimingFunction* MDMTimingFunctionWithControlPoints(CGFloat controlPoints[4]);
+
+API_DEPRECATED_END
diff --git a/src/private/MDMAnimationRegistrar.h b/src/private/MDMAnimationRegistrar.h
index 3de6485..d07fd85 100644
--- a/src/private/MDMAnimationRegistrar.h
+++ b/src/private/MDMAnimationRegistrar.h
@@ -17,6 +17,9 @@
 #import <Foundation/Foundation.h>
 #import <QuartzCore/QuartzCore.h>
 
+API_DEPRECATED_BEGIN("Use standard UIKit/CALayer animation APIs instead.",
+                     ios(12, API_TO_BE_DEPRECATED))
+
 // Tracks and manipulates animations that have been added to a layer.
 @interface MDMAnimationRegistrar : NSObject
 
@@ -36,3 +39,5 @@
 - (void)removeAllAnimations;
 
 @end
+
+API_DEPRECATED_END
diff --git a/src/private/MDMBlockAnimations.h b/src/private/MDMBlockAnimations.h
index 922c0d0..386aeee 100644
--- a/src/private/MDMBlockAnimations.h
+++ b/src/private/MDMBlockAnimations.h
@@ -17,6 +17,9 @@
 #import <Foundation/Foundation.h>
 #import <QuartzCore/QuartzCore.h>
 
+API_DEPRECATED_BEGIN("Use standard UIKit/CALayer animation APIs instead.",
+                     ios(12, API_TO_BE_DEPRECATED))
+
 @interface MDMImplicitAction: NSObject
 @property(nonatomic, strong, readonly) id initialModelValue;
 @property(nonatomic, readonly) BOOL hadPresentationLayer;
@@ -26,3 +29,5 @@
 @end
 
 NSArray<MDMImplicitAction *> *MDMAnimateImplicitly(void (^animations)(void));
+
+API_DEPRECATED_END
diff --git a/src/private/MDMDragCoefficient.h b/src/private/MDMDragCoefficient.h
index ce1eef0..9981bd2 100644
--- a/src/private/MDMDragCoefficient.h
+++ b/src/private/MDMDragCoefficient.h
@@ -17,5 +17,10 @@
 #import <Foundation/Foundation.h>
 #import <CoreGraphics/CoreGraphics.h>
 
+API_DEPRECATED_BEGIN("Use standard UIKit/CALayer animation APIs instead.",
+                     ios(12, API_TO_BE_DEPRECATED))
+
 // Returns the simulator drag coefficient when being run in the simulator, or 1.0 otherwise.
 FOUNDATION_EXTERN CGFloat MDMSimulatorAnimationDragCoefficient(void);
+
+API_DEPRECATED_END
diff --git a/src/private/MDMRegisteredAnimation.h b/src/private/MDMRegisteredAnimation.h
index 4eb9f71..c2f7eab 100644
--- a/src/private/MDMRegisteredAnimation.h
+++ b/src/private/MDMRegisteredAnimation.h
@@ -17,6 +17,9 @@
 #import <Foundation/Foundation.h>
 #import <QuartzCore/QuartzCore.h>
 
+API_DEPRECATED_BEGIN("Use standard UIKit/CALayer animation APIs instead.",
+                     ios(12, API_TO_BE_DEPRECATED))
+
 @interface MDMRegisteredAnimation : NSObject
 
 - (instancetype)initWithKey:(NSString *)key animation:(CABasicAnimation *)animation;
@@ -26,3 +29,5 @@
 @property(nonatomic, strong, readonly) CABasicAnimation *animation;
 
 @end
+
+API_DEPRECATED_END
diff --git a/src/private/MDMUIKitValueCoercion.h b/src/private/MDMUIKitValueCoercion.h
index 972e81c..2ee022b 100644
--- a/src/private/MDMUIKitValueCoercion.h
+++ b/src/private/MDMUIKitValueCoercion.h
@@ -16,6 +16,9 @@
 
 #import <Foundation/Foundation.h>
 
+API_DEPRECATED_BEGIN("Use standard UIKit/CALayer animation APIs instead.",
+                     ios(12, API_TO_BE_DEPRECATED))
+
 // Coerces the following UIKit/CoreGraphics values to Core Animation values:
 //
 // - UIBezierPath -> CGPath
@@ -24,3 +27,5 @@
 //
 // @param values All values of this array must be the same type.
 FOUNDATION_EXPORT NSArray* MDMCoerceUIKitValuesToCoreAnimationValues(NSArray *values);
+
+API_DEPRECATED_END