I have an iPhone app with a Core Data database containing a list of locations, each with lat / long coordinates. How can I find the nearest 10 to my current location?
I'm new to Core Data, so my question is really how to do a search, I know how to get my current location, etc. I believe that I need to configure NSPredicate with the query condition, but I donβt know exactly how to make it write.
Thanks J
source share