How do I get my TableView selection to open my modal view?
<p>I created a <code>TableView</code> with a <code>TableViewCell</code> in it.</p>

<p>I would like my cells in my <code>TableView</code> to open up in a separate <code>ViewController</code>.</p>

<p>My storyboard looks like this:</p>

<p><a href="https://i.stack.imgur.com/vUXC3.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vUXC3.png" alt="my storyboard"></a></p>

<p>My <code>TableViewController</code> has this:</p>

<pre><code>override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {
    if segue.identifier == "ShowVerse" {
        let pageDetailViewController = segue.destinationViewController as! PageViewController

        // Get the cell that generated this segue.
        if let selectedPageCell = sender as? PageTableViewCell {
            let indexPath = tableView.indexPathForCell(selectedPageCell)!
            let selectedPage = pages[indexPath.row]
            pageDetailViewController.page = selectedPage
        }
    }
}
</code></pre>

<p>And in my <strong>PageViewController.swift</strong> I have this :</p>

<pre><code>var page: Page?

override func viewDidLoad() {
    super.viewDidLoad()

    if let page = page {
        chapter.text = String(page.chapter)
        verse.text = String(page.verse)
    }
}
</code></pre>

<p>I do not get any errors. But tapping the cells does not nothing. What might I be missing? </p>