Contents

value(fromValue:toValue:initialVelocity:time:)

Calculates the value of the spring at a given time for a starting and ending value for the spring to travel.

Declaration

func value<V>(fromValue: V, toValue: V, initialVelocity: V, time: TimeInterval) -> V where V : Animatable

See Also

Getting spring state