O'Reilly logo

The Complete Idiot's Guide® To iPad and iPhone App Development by Troy Brant

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Distance App

Let’s take Core Location for a spin by building a distance-tracking sample application: Distance. By the time you are done, you will have the following app.
453
Distance app reports your distance traveled and also displays all the latest location data.
As part of building this app, you will see how to identify and filter out locations that can ruin your data.
Take the following steps to build the Distance app:
• Lay out the interface in Interface Builder
• Hook up the controller to the interface
• Add the User model object
• Add a CLLocationManager and receive location updates
• Filter out bad location data
Let’s get started building ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required