title: New method to find distance between 2 points
body: <p>I was using following code to find distance between 2 points:</p>
  
  <pre><code>CLLocation *location1 = [[CLLocation alloc] initWithLatitude:28.3636 longitude:-77.1212];
  
  CLLocation *location2 = [[CLLocation alloc] initWithLatitude:42.353297 longitude:-71.578858];
  
  float target = [location1 getDistanceFrom:location2];
  </code></pre>
  
  <p>But now getDistanceFrom is deprecated  by Apple.</p>
  
  <p>What should I try to perform same task?</p>