Creating and configuring a storyboard reference

If you look at Main.storyboard, you'll see that there are a lot of scenes in it. As your project grows, you'll find it more challenging to keep track of all the scenes in your app. One way to manage this is to create additional storyboards, and use storyboard references to link them. You will link the map view controller scene inside Main.storyboard to a restaurant detail scene inside RestaurantDetail.storyboard using a storyboard reference. Do the following steps to add a storyboard reference to your project:

  1. Open Main.storyboard, and click the Object library button.
  2. Type story in the filter field. Storyboard Reference will appear in the results.
  3. Drag the Storyboard Reference into Main.storyboard ...

Get iOS 13 Programming for Beginners - Fourth 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.