Cover by Joe Conway, Aaron Hillegass

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

O'Reilly logo

4Delegation and Core Location

In this chapter, we will introduce delegation, a recurring design pattern of Cocoa Touch development, and the Core Location framework, which provides the location-finding features of iOS. In addition, we will see how to use the debugger that Xcode provides to find and fix problems in your code.

Also, in this chapter and the next, you will write an application called Whereami. This application will find the geographical location of the device, display it on an interactive map, and allow the user to tag the current location with a pin and a title.

From the File menu, select New and then New Project.... On the next window, select Application from the iOS section and create a Single View Application. Configure this ...

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