Where to Go From Here?
You can find the completed sample project for this tutorial here.
Over the course of this two-part tutorial you built an app that:
- Measures and tracks your runs using Core Location.
- Displays real-time data, like the run's average pace, along with an active map.
- Maps out a run with a color-coded polyline and custom annotations at each checkpoint.
- Awards badges for personal progress in distance and speed.
There are more things for you to implement on your own:
- Add a table for a user's past runs.
NSFetchedResultsController
and the existing RunDetailsViewController
make this a snap!
- Find the average pace between each checkpoint and display it on the
MKAnnotationView
callout.
Thanks for reading. As always, I look forward to your comments and questions! :]