title: Get current position from CABasicAnimation in Swift
body: <p>I set a CABasicAnimation toValue und fromValue.</p>
  
  <pre><code>let translateAnimation = CABasicAnimation(keyPath: "transform.translation.x")
  let targetFrame = CGRectOffset(runnerContentView.frame, targetX, 0);
  let sourcePoint = CGPoint(x: startingvalue, y: 0)
  translateAnimation.toValue = NSValue(point: targetFrame.origin)
  translateAnimation.fromValue = NSValue(point: sourcePoint)
  </code></pre>
  
  <p>I need the <em>current position from the CABasicAnimation</em> when i click a Button.</p>