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

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

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