<!--
{
  "availability" : [
    "iOS: 2.0.0 -",
    "iPadOS: 2.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.5.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "QuartzCore",
  "identifier" : "/documentation/QuartzCore/CAAnimationCalculationMode",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Core Animation"
    ],
    "preciseIdentifier" : "c:@T@CAAnimationCalculationMode"
  },
  "title" : "CAAnimationCalculationMode"
}
-->

# CAAnimationCalculationMode

```
struct CAAnimationCalculationMode
```

## Topics

### Initializers

[`init(rawValue:)`](/documentation/QuartzCore/CAAnimationCalculationMode/init(rawValue:))

### Type Properties

[`cubic`](/documentation/QuartzCore/CAAnimationCalculationMode/cubic)

Smooth spline calculation between keyframe values.

[`cubicPaced`](/documentation/QuartzCore/CAAnimationCalculationMode/cubicPaced)

Cubic keyframe values are interpolated to produce an even pace throughout the animation.

[`discrete`](/documentation/QuartzCore/CAAnimationCalculationMode/discrete)

Each keyframe value is used in turn, no interpolated values are calculated.

[`linear`](/documentation/QuartzCore/CAAnimationCalculationMode/linear)

Simple linear calculation between keyframe values.

[`paced`](/documentation/QuartzCore/CAAnimationCalculationMode/paced)

Linear keyframe values are interpolated to produce an even pace throughout the animation.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)