title: Distance Between Locations Using NSPredicate
body: <p>So I have a <code>Core Data</code> with an entity containing a longitude and latitude as <code>NSNumbers</code>. I want the <code>NSFetchRequest</code>'s <code>Predicate</code> to filter based on how far the object in the database's location is from my current location. This would require me to convert the stored coordinates to CLLocationDegrees and then put them in a <code>CLLocation</code> object. Finally, I can do the compare with the <code>CLLocation</code> <code>distanceFromLocation</code>.</p>
  
  <p>I worded this as best as I can, does anyone have any ideas how I can do this with an <code>NSPredicate</code>?</p>
  
  <p>Thanks!</p>