I am finding the closest location to my current location and I'd like to NSLog
the closest CLLocation
variable name instead of it's value.
How would I go about doing this? This is how I get the value of the longitude and latitude of the variable:
NSLog(@"the closest location is %@", closestLocation);
For example, I would want it to say: "the closest location is Starbucks (the variable name)" instead of "the closest location is LONGITUDE, LATITUDE".