Setting up outlets for the RestaurantDetailViewController class
Your app has data on all its screens except for the Restaurant Detail screen. This screen is accessed either by tapping a restaurant on the Restaurant List screen or by tapping the restaurant annotation view's callout bubble button on the Map screen. If you build and run your app, tapping a restaurant on the Restaurant List screen shows the placeholder Restaurant Detail screen:
Tapping the button in the restaurant annotation view's callout bubble on the Map screen shows the actual Restaurant Detail screen, but it does not contain any restaurant data:
To fix this, let's set up the outlets for the RestaurantDetailViewController
class. Click RestaurantDetailViewController.swift
in the Project navigator. Add...