Creating a storyboard reference

To link to the restaurant detail from the map, we need to create a storyboard reference:

  1. Open the Map.storyboard, and in the object library (command + shift + L), drag a Storyboard Reference into the Map.storyboard scene:
  1. Next, select the Attributes inspector in the Utilities Panel, and update the storyboard under Storyboard Reference to say RestaurantDetail. Then, hit enter
  1. Click on control and drag from the Map View controller to the storyboard reference we just created and select Show on the screen ...

Get iOS 12 Programming for Beginners - Third 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.