---
title: frameInterval
framework: quartzcore
role: symbol
role_heading: Instance Property
path: quartzcore/cadisplaylink/frameinterval
---

# frameInterval

The number of frames that must pass before the display link notifies the target again.

## Declaration

```swift
var frameInterval: Int { get set }
```

## Discussion

Discussion The default value is 1, which results in the system notifying your app at the refresh rate of the display. If you set the value to a value greater than 1, the display link notifies your app at a fraction of the native refresh rate. For example, setting the interval to 2 causes the display link to fire every other frame, providing half the frame rate. Setting this value to less than 1 results in undefined behavior and is a programmer error.

## See Also

### Configuring a Display Link

- [duration](quartzcore/cadisplaylink/duration.md)
- [preferredFrameRateRange](quartzcore/cadisplaylink/preferredframeraterange.md)
- [preferredFramesPerSecond](quartzcore/cadisplaylink/preferredframespersecond.md)
- [isPaused](quartzcore/cadisplaylink/ispaused.md)
- [timestamp](quartzcore/cadisplaylink/timestamp.md)
- [targetTimestamp](quartzcore/cadisplaylink/targettimestamp.md)
