O'Reilly logo

Learning iOS UI Development by Yari D'areglia

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Improving Auto Layout structures with UIStackView

Along with iOS 9, comes a long list of new features. The UIStackView class is one of the most interesting for sure.

Getting used to Auto Layout requires a bit of perseverance, but even when you already feel comfortable with the tool, you need to deal with the maintenance of your constraints. Depending on the complexity of the user interfaces, you might find yourself surrounded by constraints! Even if you try to keep the structure well organized, a day will come when you really need to add "those new buttons", and your well-organized structure eventually needs to be reorganized by deleting, moving, and creating new "stuff".

Thanks to UIStackView, we can dramatically simplify this structure by leveraging ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required