An interface for providing the timing information needed to perform animations.
- iOS 10.0+
- tvOS 10.0+
An object that adopts the
UITiming protocol provides the timing information needed to perform animations with a
UIView object. A timing curve defines the velocity at which animated properties change to their new values over the duration of the animation. A custom timing curve provider can specify timing using the built-in UIKit curves, a cubic Bézier curve, a spring-based timing function, or a combination of timing information.
When implementing this protocol in a custom object, you must provide implementations for all of the properties. Use the
timing property to specify which timing information your object provides. Configure the other properties with the actual timing curve values.