I would be thankful to anyone, who could explain to me an algorithm of how one of these methods (or both) work:
I have two CLLocationCoordinate2Ds or two MKMapPoints - what calculations should I perform to calculate a distance beetween them with respect to real-world surface of earth? (Obviously, stand-alone calculation of Euclidean distance is not applicable to this task.)
Background: I want to know if a knowledge of the internals of these methods would help me to optimize some calculations involving large numbers of points on a MapKit map.