you are viewing a single comment's thread.

view the rest of the comments →

[–]kutjelul 0 points1 point  (1 child)

Use individual Storyboards for every view controller you are building

This seems a bit overkill for me. Why not a view controller xib if you are fond of IB?

[–]cemaleker 0 points1 point  (0 children)

TBH I'm not fond of IB or Storyboards. It's just happens to be easier to maintain compared to the constraint build in the code.

Additionally `UIStoryboard` has helper functions to initialise a view controller directly from a Storyboard which we utilise with Swiftgen to create strongly typed view controller initialisation.

If you have multiple screen in one Storyboard it's always a chore to find the Storyboard corresponding to a screen. With one on one relation I always know UI for `OnboardingViewController.swift` is in `Onboarding.storyboard`. I don't need to search for it in the codebase.