title: UISwipeGestureRecognizer to obtain start and end location
body: <p>In iOS/Swift the <code>UIGestureRecognizer</code> for <a href="https://developer.apple.com/documentation/uikit/uiswipegesturerecognizer" rel="nofollow noreferrer">swiping</a> has <code>location</code> methods that</p>
  
  <blockquote>
    <p>determine the location where a swipe begin.</p>
  </blockquote>
  
  <p>I have looked through the doc but I cannot see how to obtain both the start and end location of the swipe. I would like to figure out the (x,y) coordinates within the view of both the start and end. I tried <code>location(ofTouch: )</code> with different values for <code>ofTouch</code> but that gives me the same value when swiping in the simulator.</p>
  
  <p>Is there a way to do it?</p>