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