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

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store