title: How to initialize view controller of a container view with viper design pattern in swift?
body: <p>I want to initialize a view controller of a container view with VIPER design pattern and I tried to use <code>addChild()</code> function but it didn't work so anyone can help?</p>
  <pre><code>let homeVC = Storyboard.Main.viewController(HomeViewController.self)
      let homeConfigurator = HomeConfigurator()
      homeConfigurator.configure(HomeViewController: homeVC)
      let listVC = Storyboard.Main.viewController(ListViewController.self)
      let listConfigurator = ListConfigurator()
      listConfigurator.configure(ListViewController: listVC)
      homeVC.addChild(listVC)
      listVC.didMove(toParent: homeVC)
      let homeNavigationController = HomeNavigationController(rootViewController: homeVC)
  </code></pre>