I have a tableview and another view, and I'd like to animate the other view so that it slows down and stops at the same time and animation curve as the tableview does when scrolled. So, I figure that I can implement 

```
- (void)scrollViewWillEndDragging:(UIScrollView *)scrollView withVelocity:(CGPoint)velocity targetContentOffset:(inout CGPoint *)targetContentOffset

```

and use the `velocity` (pixels per millisecond), `targetContentOffset`, and the tableview's `decelerationRate` property to calculate how long it'll take to stop using the physics equation `d= (vi+vf) / 2 * t` to calculate the duration of my animation. **Once I have this, I just need the animation to decelerate at the same rate as the tableView, so that they look 'synced'. How would I do this using a `CAMediaTimingFunction` and the tableview's `decelerationRate` property?**

Thanks!