Chapter 18: Displaying Data in a Static Table View

You've come a long way, and your app has data in all its screens except for the Restaurant Detail screen.

In this chapter, you'll configure the RestaurantDetailViewController class to manage the views in the Restaurant Detail screen. Next, you'll add methods to viewDidLoad() to populate the table view when the Restaurant Detail screen is displayed. Finally, you will pass the appropriate RestaurantItem instance from the RestaurantListViewController and MapViewController instances to the RestaurantDetailViewController instance, which will display the data from that RestaurantItem instance on the Restaurant Detail screen.

By the end of this chapter, you'll have learned how to make table views with ...

Get iOS 15 Programming for Beginners - Sixth 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.