settlingDuration(fromValue:toValue:initialVelocity:epsilon:)
The estimated duration required for the spring system to be considered at rest.
Declaration
func settlingDuration<V>(fromValue: V, toValue: V, initialVelocity: V, epsilon: Double) -> TimeInterval where V : AnimatableDiscussion
The epsilon value specifies the threshold for how small all subsequent values need to be before the spring is considered to have settled.