<!--
{
  "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

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

Smooth spline calculation between keyframe values.

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

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

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

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

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

Simple linear calculation between keyframe values.

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

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

## Relationships

### Conforms To

[`Sendable`](/documentation/Swift/Sendable)

[`Hashable`](/documentation/Swift/Hashable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`Equatable`](/documentation/Swift/Equatable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

---

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)