Refactoring restaurant detail
In order for us to go to the restaurant detail from the callout, we need to update our app so that we can share the restaurant detail with the Map.
We currently have our restaurant detail inside of Explore.storyboard
. To better organize our Storyboards, we need to create a Storyboard reference and put our restaurant detail into its own Storyboard:
- In
Explore.storyboard
, click on the Table View Controller Scene that contains the restaurant detail. - With the scene selected, navigate to Editor | Refactor to Storyboard.
- In the screen that appears, name this
RestaurantDetail.storyboard
, and then hit Save.
You now have a new RestaurantDetail.storyboard
file in your Storyboard
folder in the Navigator panel.
Let's build and run ...
Get iOS 10 Programming for Beginners 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.