3 ms·
I've been an iOS developer for around 5 years and I do not use storyboards, Interface Builder, or autolayout for any complex interfaces. In the past, I've used
by speedyapoc 12y ago
I've been an iOS developer for around 5 years and I do not use storyboards, Interface Builder, or autolayout for any complex interfaces.
In the past, I've used these tools for laying out simple/medium complexity applications on a very high level (like this scroll view goes here, then fill it in using code), but in most cases it's just faster to create and layout the view using code in the first place.
The CGRect geometry methods are very powerful and building views through code is not nearly as daunting as many people make it out to be. I've found that lazily creating the elements in their getters also helps keep my view controllers sane versus creating all of the elements in viewDidLoad.