So I was doing a test for another swift project and I wanted to connect a TableViewController
that had a NavigationController
embedded in to a regular ViewController
using a segue between a bar button item and the second ViewController
. When I control-drag the button to the ViewController
, I only get the following options:
From what I understand, I should see a long list of items including show and show detail. Even if I connect them with push or any other segue, I can't select show or show detail as the type of segue if I select the segue. What am I doing wrong? I have not made modifications to ViewController.swift. Thanks!