Chapter 14: Getting Data into Collection Views
In the previous chapter, you learned about the Model-View-Controller (MVC) design pattern and collection views. You also revisited the Explore and Restaurant List screens, and you have seen how the collection views in both screens work. At this point, though, both screens just display cells that do not contain any data. As shown in the app tour in Chapter 9, Setting Up the User Interface, the Explore screen should display a list of cuisines, and the Restaurant List screen should display a list of restaurants.
In this chapter, you're going to implement the model objects for the Explore screen to make it display a list of cuisines. You'll start by learning about the model objects that you will use. Next, you'll learn about property lists, and see how they are used to store cuisine data, and you'll create a Swift structure that can store cuisine instances. After that, you'll create a data manager class that reads...