Get advanced development techniques to add location awareness, directions, and interactive maps to your iOS applications, with the MapKit and Core Location frameworks.
Overview
Syllabus
Introduction
- Welcome
- What you should know
- Using the exercise files
- Challenges
- Why MapKit?
- Coordinate system
- Get coordinates from the web
- Challenge 1: More pizzas
- Solution 1: More pizzas
- Core Location data types
- Core Location regions
- Distance
- Set up a map
- Add coordinates and regions
- Use cameras
- Add 3D maps
- Add satellite and flyover modes
- Set map features
- Add an annotation pin
- MKMapView delegate
- Customize the annotation text
- Customize the annotation graphics
- Interactive annotations
- Challenge 2: Add more annotations
- Solution 2: Add more annotations
- Circle overlays
- Challenge 3: Selective circles
- Solution 3: Selective circles
- Polyline overlays
- Challenge 4: The grand pizza tour
- Solution 4: The grand pizza tour
- Introducing Core Location
- Obtain user permissions
- Code with location services
- Run the location app
- Location accuracy
- Challenge 5: Headings and speed
- Solution 5: Headings and speed
- Use headings
- Regions
- Challenge 6: Exiting a region
- Solution 6: Exiting a region
- Geocoding and placemark data
- Searching for an address
- Request location by keyword
- Request directions
- Display graphic directions
- Display step-by-step directions
- Challenge 7: The chosen path
- Solution 7: The chosen path
- Launching the maps app
- Final challenge: Transit ETA annotation
- Final solution: Transit ETA annotation
- Next steps
Taught by
Steven Lipton