Join Véronique Brossier for an in-depth discussion in this video Using the exercise files, part of iOS SDK: Building Apps with MapKit and Core Location.
- View Offline
male speaker: For this course, Veronique Brossier supplies you with the exercise files that she uses in each chapter as well as the code snippets for the apps that she writes. Let's take a look at both. The exercise files reside here in the Exercise Files folder which Veronique has placed on her desktop. You can place it wherever you wish. Inside, the exercise files are arranged by chapter, and in each chapter you have two versions of each project, the Begin version and a Done version.
Any related assets are inside the project. Screen overlays will tell you which project to open for any given movie. In this course we are using Xcode 4.3 and targeting devices with a minimum level of 5.0.1. In this class, we test with the simulator, but you may want to test the projects on your device, and that's fine. Xcode provides Code Snippets which you find in utilities panel over here in the lower right.
This is a convenient way to use prewritten code. You simply take the relevant bit of code and drag it to the appropriate place in your project. Veronique has written some code snippets especially for the projects in this course, and you can add them to your library. Let me show you how. In the Finder window, select Go, then hold down the Option key to bring up library. Click on Library > Developer > Xcode > UserData.
Here in UserData you may find a folder called code snippets. If you don't find that folder, it's because you haven't yet used code snippets in Xcode. If that's the case, simply come over here into the Exercise Files folder and drag the Code Snippets folder over into UserData. If you already have Code Snippets here, you simply copy these bits of code into that folder. Now when you open a project in Xcode, the code snippets appear here in the Code Snippet Library, drop that down and select User and here they are.
With the exercise files and code snippets in place, you're ready to dive into iOS SDK Building Apps with Mapkit and Core Location.
Author Véronique Brossier covers the basic purpose of the Core Location and MapKit frameworks and how to integrate their services with your existing applications. Véronique shows how to center a map on a location, add annotations, create overlays, and zoom and navigate around maps. The course also covers how to leverage live location data such as course and speed and modify it when necessary.
- Displaying maps
- Reviewing the geographic coordinate system in MapKit
- Centering the map on the user location
- Adding interactivity to annotations
- Creating overlays with shapes and lines
- Starting and stopping location services
- Defining the distance between two locations
- Implementing forward or reverse geocoding