3. Interface Builder Layout

Working with constraint-based design in Interface Builder (IB) can sometimes prove a frustrating experience for developers new to Auto Layout. When you work with IB, you must move away from a normal developer mindset. You can’t approach IB-based Auto Layout by asking, “Which constraints do I want to add to express my design goals?” Instead, you need to consider, “How do I modify the constraints that I’ve built and that Interface Builder has given me to achieve my design goals?”

Because IB is such an involved party in the Auto Layout process, you need to understand why it seems to “thwart” your design efforts and when it will override you on your behalf. This chapter introduces the tools and rules of IB layout, explaining ...

Get iOS Auto Layout Demystified now with O’Reilly online learning.

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