Flávio Caetano

February 27, 2018

As frameworks improves, as our knowledge of it, we should leave our prejudices
in the past. It is without question that AutoLayout has become much beloved and
necessary as it moves forward. Its API has improved so drastically as to discard
the need for third-party libraries.

However, as far as AutoLayout has progressed, it may still be simpler to handle
frames in some cases. But how to join both worlds without colliding them and
throwing a bunch of warnings in your console? Or worst: in your IB…

Customize layoutSubviews

Depending on the simplicity of what you want to achieve, implementing your own
version of layoutSubviews without relying on the SDK can be simple and effective: