I don't understand why you would do your UI layout in code if you can avoid it. If someone ever joins my team or inherits my code base, they're now partly responsible for maintaining the UI. Xib's and storyboards help with maintainability, legibility, and drastically lower the number of lines of code. The author even says:
> Find an example program that works then reduce lines until I can reduce no more making a minimal example that works - then understand every line
If you care about the line count, then why are you doing all your UI in code?