---
title: nextFrameTime()
framework: quartzcore
role: symbol
role_heading: Instance Method
path: quartzcore/carenderer/nextframetime()
---

# nextFrameTime()

Returns the time at which the next update should happen.

## Declaration

```swift
func nextFrameTime() -> CFTimeInterval
```

## Return Value

Return Value The time at which the next update should happen.

## Discussion

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

- [beginFrame(atTime:timeStamp:)](quartzcore/carenderer/beginframe(attime:timestamp:).md)
- [updateBounds()](quartzcore/carenderer/updatebounds().md)
- [addUpdate(_:)](quartzcore/carenderer/addupdate(_:).md)
- [render()](quartzcore/carenderer/render().md)
- [endFrame()](quartzcore/carenderer/endframe().md)
