I\'m using CLLocationDistance to get the distance between two points, but I\'m getting an error when passing my current location in it.
CLLocationDistance
CLLocati
Is swift 2.0 is in the following way:
let userLocation:CLLocation = CLLocation(latitude: 11.11, longitude: 22.22) let priceLocation:CLLocation = CLLocation(latitude: 33.33, longitude: 44.44) let meters:CLLocationDistance = userLocation.distanceFromLocation(priceLocation)