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 static cells display data, and how to create a custom map image. By doing so, you’ll be able to implement these features in your own apps.
The following topics will be covered in this chapter:
- Setting...