Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Let's start with an example. First, open Xcode and create a New Project. Select Tab Bar Application for your template and name your project iOS_AR_Ch3_LocationServices. Make sure the Device Family is set to iPhone. Everything we will cover in this chapter can easily be reused in your iPad applications. So, to keep things simple, we'll be using only the iPhone in this chapter.
This step is optional. I created a local Git repository with this Xcode project. From my Terminal, I navigated to the new project's directory and ran the commands shown in Listing 3–1. The finished project for this chapter is available at github.com/kyleroche.
Listing 3–1. Connect the Local Repository to GitHub
Kyle-Roches-MacBook-Pro-2:iOS_AR_Ch3_LocationServices kyleroche$ git remote add origin git@github.com:kyleroche/iOS_AR_Ch3_LocationServices.git
Kyle-Roches-MacBook-Pro-2:iOS_AR_Ch3_LocationServices kyleroche$ git push -u origin master
Counting objects: 19, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (17/17), done.
Writing objects: 100% (19/19), 10.78 KiB, done.
Total 19 (delta 5), reused 0 (delta 0)
To git@github.com:kyleroche/iOS_AR_Ch3_LocationServices.git
* [new branch] master -> master
Branch master set up to track remote branch master from origin.