The CLLocationManager is the class responsible for generating CLLocations objects for your user’s position. Like most APIs in the iPhone SDK, CLLocationManager reports location changes using delegation. To receive these updates, you must adopt the CLLocationManagerDelegate protocol and assign yourself as the manager’s delegate.
Let’s take a look at the methods that should be implemented by an object that adopts the CLLocationManagerDelegate protocol:
When the manager reports a new location to the delegate, it graciously includes the previous location reading as well. The primary purpose of including ...