3. Interface Builder Layout

Compared to earlier Xcode releases, Xcode 5 with its redesigned Interface Builder (IB) vastly enhances Auto Layout. Even so, learning constraint-based design in IB can be a frustrating experience for many new developers. This chapter will help reduce that frustration and introduce the tools that IB provides. You’ll read about how Auto Layout integrates with IB and how you can best explore, construct, test, and validate your interfaces.

This is a hands-on chapter. You will gain the most from it by launching Xcode, creating new projects, and following along with these examples in live IB documents. The more you play with the tools, the more the mystery will dissipate, as IB constraints become part of your design workflow. ...

Get iOS Auto Layout Demystified, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.