---
title: NSAnimation.Curve
framework: appkit
role: symbol
role_heading: Enumeration
path: appkit/nsanimation/curve
---

# NSAnimation.Curve

These constants describe the curve of an animation—that is, the relative speed of an animation from start to finish.

## Declaration

```swift
enum Curve
```

## Overview

Overview You initialize an NSAnimation object using one of these constants with init(duration:animationCurve:) and you can set it thereafter with the animationCurve property.

## Topics

### Constants

- [NSAnimation.Curve.easeInOut](appkit/nsanimation/curve/easeinout.md)
- [NSAnimation.Curve.easeIn](appkit/nsanimation/curve/easein.md)
- [NSAnimation.Curve.easeOut](appkit/nsanimation/curve/easeout.md)
- [NSAnimation.Curve.linear](appkit/nsanimation/curve/linear.md)

### Initializers

- [init(rawValue:)](appkit/nsanimation/curve/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Constants

- [NSAnimation.BlockingMode](appkit/nsanimation/blockingmode.md)
- [NSAnimation.Progress](appkit/nsanimation/progress.md)
- [NSAnimationProgressMark Notification Key](appkit/nsanimationprogressmark-notification-key.md)
