Summary

In this chapter, we discussed what MKAnnotations are and how to add and subclass them in order to use them in our Map. In addition, you learned how to customize our annotations. Our app now takes us from tapping on an annotation to a restaurant detail page. You also learned that extensions help to organize code as well as add functionality without having to change the main class or struct with which we are working.

In the next chapter, we are going to display data in our restaurant list. We also will set up our restaurant detail page to display data.

Get iOS 10 Programming for Beginners now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.