pushViewController not working
<p>I am new to ios with <strong>swift</strong> and <strong>swrevealviewcontroller</strong>. i faceing a problem! in my slide menu (scene TableViewController  Two blue line draw) each row when selected then should be open particuler <code>scene</code> (View controller) but unfortunatly it is not open . there have no error and <code>didselectRowAt</code> fire when i select row from the table but pushViewController not working .</p>

<pre><code>  func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {

        let dvcStoryBordId = menuViewIds[(indexPath.row - 1 )]

        let viewController = storyboard?.instantiateViewController(withIdentifier: dvcStoryBordId )

        self.navigationController?.pushViewController(viewController!, animated: true)
    }
</code></pre>

<p>Story Board </p>

<p><a href="https://i.stack.imgur.com/4BUQp.png" rel="noreferrer"><img src="https://i.stack.imgur.com/4BUQp.png" alt="enter image description here"></a></p>

<p>do i miss anything ? is it correct way ? self.</p>

<p>UPDATE :</p>

<p><code>self.navigationController</code> is <code>nil</code> . is there any alternative ?  or without navigation</p>

<p><strong>Update:</strong></p>

<p>Storyboard Id</p>

<pre><code>menuViewIds = ["shareWithFriends","deliveryTracking", "controls", "support","myAccount"]
</code></pre>

<p>Run time view </p>

<p><a href="https://i.stack.imgur.com/inyJP.png" rel="noreferrer"><img src="https://i.stack.imgur.com/inyJP.png" alt="enter image description here"></a></p>