---
title: repeatDuration
framework: quartzcore
role: symbol
role_heading: Instance Property
path: quartzcore/camediatiming/repeatduration
---

# repeatDuration

Determines how many seconds the animation will repeat for.

## Declaration

```swift
var repeatDuration: CFTimeInterval { get set }
```

## Discussion

Discussion Defaults to 0. If the repeatDuration is 0, it is ignored. If both repeatDuration and repeatCount are specified the behavior is undefined.

## See Also

### Repeating Animations

- [repeatCount](quartzcore/camediatiming/repeatcount.md)
