News for hackers. Stuff that matters.
Re:iOS: Say no to storyboards by wsc981 on Tuesday February 16, 2016 @12:49PM (#11111705)
I've tried using Storyboards and Xibs in the past, but I think they're too annoying in practice for many reasons (some mentioned in the article):

- Merge conflicts

- Can't effectively search & replace

- Slow to open

- Can't inherit xibs / create subclasses of xibs

- The properties that can be visually edited for a view are quite limited

... and in case a dev opts into auto-layout ...

- Autolayout is like an extra magic layer

So whenever I have the chance, I just implement my views in code, doing all positioning in layoutSubviews. It's not that much more work and it's easy to modify and reason about.

There are no comments on this comment yet.