Thanks, Gabriel for your appreciation. Coming back to your queries:

  1. Why do you call router as wireframe?
    Router ideally has the responsibility of initializing the module components, thereby holding the blueprint/wireframe of the whole module. Thus I have named them as the wireframe. Its no harm if you are naming your router as “XYZRouter”.
  2. Why is it the responsibility of wireframe to initiate the module?
    Wireframe/Router is the place where your view controllers are initialized and the routing logic is written. So it is logical for the Router to take the responsibility to initialize the module.

Software Developer(iOS), Speaker & Writer at Swift India

Software Developer(iOS), Speaker & Writer at Swift India