title: How to navigate to different view controllers based on slide out menu
body: <p>I'm new to Swift and have been trying various thing for many hours now.</p>
  
  <p>Here's how my app looks like:</p>
  
  <p><a href="https://i.stack.imgur.com/cQQQU.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cQQQU.png" alt="enter image description here"></a></p>
  
  <p>Ideally I want them to click an option from this pop out menu that will take them to another view. Right now, I'm on the QuotesTimelineViewController but say I want to click on the bookmark button then I'd want to go to the SavedQuotesViewController.</p>
  
  <p>Here is how my storyboard looks like: 
  <a href="https://i.stack.imgur.com/f6vNq.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/f6vNq.png" alt="enter image description here"></a></p>
  
  <p>The QuotesViewController has a NavigationController embedded in it. When you click the menu button it goes to the NavigationSideController which is presented modally. Now I don't know how to make the segues for what I want to accomplish next. </p>
  
  <p>Here is my code for the NavigationSideController so right now what happens when you click on an icon in the navigationsidebar it dismisses that animation and the navigationsidebar goes away. Maybe you can see all the commented out code.</p>
  
  <p><a href="https://i.stack.imgur.com/as482.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/as482.png" alt="enter image description here"></a></p>
  
  <p>And here's some relevant code (I think) from QuotesTimelineViewController:</p>
  
  <p><a href="https://i.stack.imgur.com/GOGiO.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/GOGiO.png" alt="enter image description here"></a></p>
  
  <p>But there could be something I'm missing so if you want to look at my whole repo it's here: <a href="https://github.com/mayaah/ios-decal-proj4" rel="nofollow noreferrer">https://github.com/mayaah/ios-decal-proj4</a></p>
  
  <p>Any guidance would be so helpful! Eventually I'd like that whenever I click on an icon in the navigationsidebar the view controller corresponding to that icon opens up. The most progress i've made so far was getting a window hierarchy error! I guess because when I click on an icon, QuotesTimelineViewController isn't the at the top of the stack or something I don't know.</p>