MaikCL/ViperModuleGenerator

Creating a new module doesn't connect the view with its UIViewController outlet

alejandroivan opened this issue · 0 comments

Steps:

  1. Create a new module (e.g. Home).
  2. Try to present the HomeVC using HomeRouter.
  3. Crash, no outlet connected.

To fix (after creating the module):

  1. Go into HomeView.xib and set "File's Owner" class to HomeVC.
  2. Select the view and Ctrl-Drag to File's Owner, connecting it with the view outlet.

Done.