Thanks, Nikita for the appreciation. FruitListView is the first view of the application and it is being loaded from the storyboard as an initial controller. So it is internally built not dependent of any previous module’s action as in case of subsequent modules being built via navigation methods. So it would be quite simple and logically fine to initialize the module from the viewdidLoad() of the controller and moreover, it is calling a static method of the wireframe to initialize the module not holding any references.

--

--

--

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

You can defeat self-sabotage!

Is Dorm Life Worth It?

Confidence: How to Build It, and What to Do If You Lost It?

Confidence: How to Build It, and What to Do If You Lost It?

Will you understand?