Contents

interpolatingSpring(_:initialVelocity:)

An interpolating spring animation that uses a damped spring model to produce values in the range of one to zero.

Declaration

static func interpolatingSpring(_ spring: Spring, initialVelocity: Double = 0.0) -> Animation

Discussion

These vales are used to interpolate within the [from, to] range of the animated property. Preserves velocity across overlapping animations by adding the effects of each animation.

See Also

Customizing spring animations