Summary
In this chapter, you learned about the MVC design pattern and collection view controllers in detail. You then revisited the collection views used in the Explore and Restaurant List screens and learned how they work.
You should now understand the MVC design pattern, how to create a collection view controller, and how to use the collection view data source protocol. This will enable to you implement collection view controllers for your own apps.
Up to this point, you have set up the views and view controllers for the Explore and Restaurant List screens, but the Explore screen just displays a grid of cells, and the Restaurant List screen displays a single cell with a placeholder image. In the next chapter, you are going to implement the model objects for the Explore screen so that it can display a list of cuisines. To do this, you will read data from a file stored on your iOS device, create structures to store that data, and finally, provide it to the ExploreViewController...