4 ms·
I’d be interested in GPs answer too. Especially considering that flexbox is a proper subset of what’s possible with AutoLayout... If you’re not comfortable wit
by layoutIfNeeded 7y ago
I’d be interested in GPs answer too. Especially considering that flexbox is a proper subset of what’s possible with AutoLayout...
If you’re not comfortable with constraint systems yet, just use UIStackView and voilà, it’s a flexbox.
- atom_arranger 7y agoYou clearly know your layouts :). I agree, AutoLayout is the most powerful system I've worked with. I wish others would start their layout systems based on it (others like React Native, or native Android), then add simplified APIs like flexbox using it if needed/desired.
- emilsjolander 7y agoSomethings become very complicated in constraint based systems and they are often much slower in my experience than more special purpose layout systems. That said i'm not against constraint systems either, they just both have their place.