Creating a new module doesn't connect the view with its UIViewController outlet
alejandroivan opened this issue · 0 comments
alejandroivan commented
Steps:
- Create a new module (e.g. Home).
- Try to present the HomeVC using HomeRouter.
- Crash, no outlet connected.
To fix (after creating the module):
- Go into HomeView.xib and set "File's Owner" class to HomeVC.
- Select the view and Ctrl-Drag to File's Owner, connecting it with the
view
outlet.
Done.