title: Custom UINavigationController init results in use of unimplemented initializer 'init(nibName:bundle:)
body: <p>I have these custom classes :</p>
  
  <p>1.</p>
  
  <pre><code>class MyNavigationController: UINavigationController {
  
  }
  </code></pre>
  
  <p>2.</p>
  
  <pre><code>class HomeNavigationController: MyNavigationController {
  
      init() {
          super.init(rootViewController: HomeViewController())
      }
  
      required init?(coder aDecoder: NSCoder) {
          super.init(coder: aDecoder)
      }
  }
  </code></pre>
  
  <p>3.</p>
  
  <pre><code>class MyViewController: UIViewController {
  
  }
  </code></pre>
  
  <p>4.</p>
  
  <pre><code>class HomeViewController: MyViewController {
  
      init() {
          super.init(nibName: "HomeViewController", bundle: .main)
      }
  
      required init?(coder aDecoder: NSCoder) {
          super.init(coder: aDecoder)
      }
  
  }
  </code></pre>
  
  <p>Then I try to initialize an instance of <code>HomeNavigationController</code> in app delegate :</p>
  
  <pre><code>let homeVC = HomeNavigationController()
  </code></pre>
  
  <p>But when doing so, I get this error:</p>
  
  <blockquote>
    <p>fatal error: use of unimplemented initializer 'init(nibName:bundle:)' for class 'HomeNavigationController'</p>
  </blockquote>
  
  <p>I don't see why it's trying to call it... so what to do?</p>