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. ...

Get iOS 14 Programming for Beginners - Fifth Edition 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.