---
title: calculationModeCubic
framework: uikit
role: symbol
role_heading: Type Property
path: uikit/uiview/keyframeanimationoptions/calculationmodecubic
---

# calculationModeCubic

The option to compute intermediate frames using a default Catmull-Rom spline that passes through the keyframe values.

## Declaration

```swift
static var calculationModeCubic: UIView.KeyframeAnimationOptions { get }
```

## Discussion

Discussion You can’t adjust the parameters of this algorithm.

## See Also

### Constants

- [layoutSubviews](uikit/uiview/keyframeanimationoptions/layoutsubviews.md)
- [allowUserInteraction](uikit/uiview/keyframeanimationoptions/allowuserinteraction.md)
- [beginFromCurrentState](uikit/uiview/keyframeanimationoptions/beginfromcurrentstate.md)
- [repeat](uikit/uiview/keyframeanimationoptions/repeat.md)
- [autoreverse](uikit/uiview/keyframeanimationoptions/autoreverse.md)
- [overrideInheritedDuration](uikit/uiview/keyframeanimationoptions/overrideinheritedduration.md)
- [overrideInheritedOptions](uikit/uiview/keyframeanimationoptions/overrideinheritedoptions.md)
- [calculationModeLinear](uikit/uiview/keyframeanimationoptions/calculationmodelinear.md)
- [calculationModeDiscrete](uikit/uiview/keyframeanimationoptions/calculationmodediscrete.md)
- [calculationModePaced](uikit/uiview/keyframeanimationoptions/calculationmodepaced.md)
- [calculationModeCubicPaced](uikit/uiview/keyframeanimationoptions/calculationmodecubicpaced.md)
