Contents

nextFrameTime()

Returns the time at which the next update should happen.

Declaration

func nextFrameTime() -> CFTimeInterval

Return Value

The time at which the next update should happen.

Discussion

If infinite, no update needs to be scheduled yet. If nextFrameTime is the current frame time, a continuous animation is running and an update should be scheduled after an appropriate delay.

See Also

Rendering a Frame