duration
The duration used by animations created as a result of setting new values for an animatable property.
Declaration
var duration: TimeInterval { get set }Discussion
Any animations that occur as a result of setting the values of animatable properties in the current context will run for this duration.