3 ms·
What problems have you experienced with Apple’s auto layout?
by jahewson 8y ago
What problems have you experienced with Apple’s auto layout?
- layoutIfNeeded 8y agoI’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 8y 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 8y 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.