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 ?


Comments

Popular posts from this blog

javascript - How to name a jQuery function to make a browser's back button work? -

python - Django-easy-pdf: xhtml2pdf reporting reportlab 2.2+ is required, but 3.0 installed -

collision detection - C++ library for mesh to mesh intersection: what is available? -