Tag Archives: autolayout

Tutorial: Auto Layout Part 2

Button_with_non-HIG_Spacing-300x71

Using Auto Layout in Interface Builder can prove trying. While it works reasonably well when you declare constraints on simple views hierarchies, Auto Layout in IB has a couple of major limitations. As you saw in our previous Auto Layout tutorial, you cannot declare constraints across views that do not share the same superview in […]

Read more ...

Tutorial: Auto Layout Part 1

Two_Buttons_with_HIG_Spacing-300x81

What is Auto Layout? Auto Layout changes the way that you create your iOS and OS X user interfaces in simple, but powerful ways. Rather than explicitly setting the origin and size of UI elements, you declare constraints between views that describe how UI elements are displayed. Constraints represent the relationship between two user interface […]

Read more ...