title: How to calculate the destination contentOffset of a UIScrollView in motion
body: <p>I'm using a UIScrollView as the basis of a component that makes use of core animation. When the user swipes the view I would like to position elements according to the destination (resting) position of the scroll view. For this, I need to calculate the destination contentOffset of the UIScrollView in the scrollViewWillBeginDecelerating: method or similar.</p>
  
  <p>The reason I need this is that I'll be using the destination contentOffset to animate views nested within the scrollview's contentView to their final position. I could of course set up an observer on the contentOffset or similar, but this would result in chaotic animation as the nested views would then update their positions multiple times during deceleration. I'd like this to happen just the once.</p>
  
  <p>Is there a simple way to do this?</p>