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


  1. 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. 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

Love podcasts or audiobooks? Learn on the go with our new app.

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
G. Abhisek

G. Abhisek

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

More from Medium