Contents

duration

The elapsed time for one complete rotation.

Declaration

var duration: TimeInterval { get set }

Discussion

The framework sets a value for this property depending on the underlying animation data and the specified speed.

You can override the default duration by defining trimStart, trimEnd, or trimDuration.

See Also

Timing the animation