Segueing Between Scenes

At first glance, this looks like a lot of work to add what’s little more than a title bar to our app, but we’re now set up to start navigating between scenes. It gets pretty easy from here.

images/navigation/ib-new-segue-popup.png

How easy? Like, drawing one line easy. In Main.storyboard, go to the episode list scene, select the table cell, and Control-drag from it to the player scene. At the end of the drag, a pop-up appears (shown here), listing a set of choices for Selection Segue, Accessory Action, and some deprecated choices. From the top section, choose Show. Once you release, this creates a new arrow between the episode list and player scenes.

More importantly, ...

Get iOS 10 SDK Development, 1st 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.