title: iOS VIPER architecture, who has to instantiate a whole module?
body: <p>Taking into account the VIPER structure</p>
  
  <p><img src="https://i.stack.imgur.com/ryLz7.png" alt="enter image description here"></p>
  
  <p>I have two modules, A and B. The first module A, via presenter, wants to perform an action that has to be done in the module B, so tells its wireframe to do it. The question is, who is responsible of instantiate the whole module (view, interactor, presenter...). I saw some examples with different approaches:</p>
  
  <ul>
  <li>Create all the modules in the beginning of the app.</li>
  <li>Create the whole module in the wireframe of the module, so in this case a class method of BWireframe instantites all the B module.</li>
  </ul>
  
  <p>Taking into account that the wireframe is responsible for routing, is it also responsible of creating its module?</p>