<!--
{
  "availability" : [
    "iOS: 10.0.0 -",
    "iPadOS: 10.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: 10.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UICubicTimingParameters/init(animationCurve:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UICubicTimingParameters(im)initWithAnimationCurve:"
  },
  "title" : "init(animationCurve:)"
}
-->

# init(animationCurve:)

Initializes the object with the specified UIKit timing curve.

```
init(animationCurve curve: UIView.AnimationCurve)
```

## Parameters

`curve`

The UIKit timing curve to use for the animations. You can specify a linear animation or an animation whose initial or final speed is slightly slower.

## Return Value

An initialized timing parameter object or `nil` if the object could not be created.

## Discussion

Use this method to create a timing curve that uses the standard UIKit timing curves such as [`UIView.AnimationCurve.easeIn`](/documentation/UIKit/UIView/AnimationCurve/easeIn), [`UIView.AnimationCurve.easeOut`](/documentation/UIKit/UIView/AnimationCurve/easeOut), [`UIView.AnimationCurve.easeInOut`](/documentation/UIKit/UIView/AnimationCurve/easeInOut), or [`UIView.AnimationCurve.linear`](/documentation/UIKit/UIView/AnimationCurve/linear).

---

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)