ios - Filter an NSArray based on distance from certain point and longitude and latitude -
i have entity objects in it. these objects have longitude , latitude . want following. i want objects 5000 meters current location. question is, best way off doing , keeping in mind entity can contain 5000 records. i thinking on making nspredicate , somehow longitude can have deviation of 0.005 or something? don't have idea of or bad ?