timingCurve(_:duration:)
Creates a new animation with speed controlled by the given curve.
Declaration
static func timingCurve(_ curve: UnitCurve, duration: TimeInterval) -> AnimationParameters
- curve:
A curve that describes the speed of the animation over its duration.
- duration:
The duration of the animation, in seconds.