---
title: easeIn
framework: quartzcore
role: symbol
role_heading: Type Property
path: quartzcore/camediatimingfunctionname/easein
---

# easeIn

Ease-in pacing, which causes an animation to begin slowly and then speed up as it progresses.

## Declaration

```swift
static let easeIn: CAMediaTimingFunctionName
```

## Discussion

Discussion This is a Bézier timing function with the control points (0.42,0.0) and (1.0,1.0). The following code shows how to create a basic animation object using ease-in interpolation.  let verticalAnimation = CABasicAnimation(keyPath: "position.y")  verticalAnimation.fromValue = 310  verticalAnimation.toValue = 10  verticalAnimation.timingFunction = CAMediaTimingFunction(name: kCAMediaTimingFunctionEaseIn) A layer animated with the animation created by the code above and with linearly interpolated horizontal movement would describe a path similar to the following figure.

## See Also

### Constants

- [linear](quartzcore/camediatimingfunctionname/linear.md)
- [easeOut](quartzcore/camediatimingfunctionname/easeout.md)
- [easeInEaseOut](quartzcore/camediatimingfunctionname/easeineaseout.md)
- [default](quartzcore/camediatimingfunctionname/default.md)
