Precision of the spring.
The level of precision used to determine when the animation has come to a rest, that is, when the amplitude of the oscillations becomes smaller than this value.
If the epsilon value is too small, the animation will take a long time to stop after the animated value has stopped visibly changing.
If the epsilon value is too large, the animation will end prematurely.
The default value is 0.001.
The initial velocity to start the animation with.
Initial velocity affects only the animation curve, but not its duration.
Physical parameters describing the spring.
The target to animate.
The value to animate from.
The animation will start at this value and end at
[propertySpringAnimation:
value-to].
The value to animate to.
The animation will start at [propertySpringAnimation:
value-from] and end
at this value.
The animation widget.
It provides the frame clock for the animation. It's not strictly necessary for this widget to be same as the one being animated.
The widget must be mapped in order for the animation to work. If it's not mapped, or if it gets unmapped during an ongoing animation, the animation will be automatically skipped.
Whether the animation should be clamped.
If set to
TRUE
, the animation will abruptly end as soon as it reaches the final value, preventing overshooting.It won't prevent overshooting [property
SpringAnimation:
value-from] if a relative negative [propertySpringAnimation:
initial-velocity] is set.