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 ...