---
title: UICubicTimingParameters
framework: uikit
role: symbol
role_heading: Class
path: uikit/uicubictimingparameters
---

# UICubicTimingParameters

The timing information for animations in the form of a cubic Bézier curve.

## Declaration

```swift
@MainActor class UICubicTimingParameters
```

## Overview

Overview Use a UICubicTimingParameters object to specify custom timing curves when creating animations with objects that adopt the UIViewAnimating protocol, such as UIViewPropertyAnimator. A cubic Bézier timing curve consists of a line whose starting point is (0, 0), whose end point is (1, 1), and whose shape is defined by two control points. The slope of the line at each point in time defines the speed of the animation at that time. Steep slopes cause animations to appear to run faster and shallower slopes cause them to appear to run slower. The following graph shows a timing curve where the animations start fast and finish fast but run more slowly through the middle section.

## Topics

### Initializing a cubic timing parameters object

- [init()](uikit/uicubictimingparameters/init().md)
- [init(animationCurve:)](uikit/uicubictimingparameters/init(animationcurve:).md)
- [init(controlPoint1:controlPoint2:)](uikit/uicubictimingparameters/init(controlpoint1:controlpoint2:).md)
- [init(coder:)](uikit/uicubictimingparameters/init(coder:).md)

### Getting the timing parameters

- [animationCurve](uikit/uicubictimingparameters/animationcurve.md)
- [controlPoint1](uikit/uicubictimingparameters/controlpoint1.md)
- [controlPoint2](uikit/uicubictimingparameters/controlpoint2.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [Sendable](swift/sendable.md)
- [UITimingCurveProvider](uikit/uitimingcurveprovider.md)

## See Also

### Timing curves

- [UITimingCurveProvider](uikit/uitimingcurveprovider.md)
- [UISpringTimingParameters](uikit/uispringtimingparameters.md)
