Contents

end

An integer multiple of the frame interval at which the animation stops.

Declaration

var end: TimeInterval { get set }

Discussion

When calculating the visual beginning of a sampled animation, the framework first evaluates this property, and then applies the optional trimEnd, in seconds.

The framework requires this property to contain an integer multiple of frameInterval. Note that the value of this property can be irrational because frame interval is of type TimeInterval.

See Also

Timing the animation