Tag: regualr size classs

Using Trait Collections for Auto Layout and Size Classes

Suppose you have a project with adaptive layout, but you hate storyboards. You’ve coded all your layout and then find something horrible: it only codes well in portrait on an iPhone. You’ve decided that some of the elements need to be in a different… Continue Reading “Using Trait Collections for Auto Layout and Size Classes”

Auto Layout and Size Classes: The Regular Size and Lining up Buttons Evenly

In the conclusion of our series on auto layout, we’ll discuss the regular size for iPads and one side of the iPhone 6 plus. We’ll make a line of evenly spaced buttons using auto layout, first for the iPad, then again for the iPhone… Continue Reading “Auto Layout and Size Classes: The Regular Size and Lining up Buttons Evenly”