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 delegate and data source protocols. 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're going to implement the model objects for the Explore screen so 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  ExploreViewController so that it may be displayed by the collection view in the Explore screen.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.138.179.119