title: how use navigation controller with xib in Swift
body: <p>I have a query which is quite intriguing to me, it happens that I am learning Swift, it seems to me fantatisc the tools that xcode provides make the job a lot easier, but based on my experience in Android projects as a minimum it is recommended to use <strong>MVC</strong> to maintain the order of the project, same try to swift for which they recommended me to use <strong>xib files</strong>, it can also be used to work in groups. Until there is everything fantastic but when I tried to implement it I find it too complicated, for which I preferred to use <strong>storyboards</strong> but the use of libraries and other files make that when loading my storyboard file I delayed too much which is because it is loaded with enough <strong>ViewController</strong>. Added to this, using the <strong>NavigationController</strong> in storyboards is easy, it makes navigating a lot easier. My problem is how could I do this with xib files? In a moment I try to do it, but my ViewController loaded vertically and without the navigation bar and I have no idea how to develop it.</p>
  
  <p>By code to load a ViewController is this way.</p>
  
  <pre><code>let Storyboard = UIStoryboard(name: "Main", bundle: nil)
          let menuVC = Storyboard.instantiateViewController(withIdentifier: "MenuSelectedViewController") as! MenuSelectedViewController
          self.navigationController?.pushViewController(menuVC, animated: true)
  </code></pre>
  
  <p>And by interface builder with segue</p>
  
  <p><a href="https://i.stack.imgur.com/GI5Lf.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/GI5Lf.png" alt="enter image description here"></a></p>
  
  <p>So how can I develop this <strong>navigation bar</strong> with xib files and my <strong>TabBarController</strong> ?</p>