Graphics Programs Reference
In-Depth Information
4
Delegation and Core Location
In this chapter, we will introduce delegation, a recurring design pattern of Cocoa Touch de-
velopment, 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 ap-
plication 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 Ap-
plication from the iOS section and create a Single View Application . Configure this project
as shown in Figure 4.1 .
Figure 4.1 Configuring the Whereami project
 
Search WWH ::




Custom Search