Posted on November 25, 2015
by Steven Lipton
2 Comments
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”
Category: Auto Layout and Size Classes, GUI, iOS9, Swift Programming, Swift Swift, TutorialTags: changing layout, compact, compact size class, constant, constraint outlets, constraints, outlets, programatically, regualr size classs, Regular, size class, UITraitCollection
Posted on January 14, 2015
by Steven Lipton
1 Comment
In the Auto Layout and Size Class video series, we came up with a generic layout. We made a different layout for iPhones in landscape and then another for iPads. However the preview in iPhone 6 plus in landscape is not working. In the… Continue Reading “Solving Conflicting Constraints in Auto Layout”
Posted on January 8, 2015
by Steven Lipton
9 Comments
Note: When I originally posted the Basic Auto Layout video on YouTube, I recorded it live and did not make a script I could post underneath it. This post makes the same UI as the video, but with a few differences in depth of… Continue Reading “Basic Auto Layout: A Practical View for Beginners”
Category: Auto Layout and Size Classes, GUI, ios8Tags: align, align constraints, alignment, Auto Layout, autolayout, basic, Beginning, constraints, ios8, pin constraints, preview, storyboard, Tutorial, update constraints, Xcode
Posted on November 25, 2014
by Steven Lipton
2 Comments
Transcript Welcome to this quick lesson on auto layout and proportional spacing of elements. In the previous videos, we used equal widths to set the spacing for various elements in auto layout. But what if you want the sizes to be different? For example,… Continue Reading “Proportional Sizes in Autolayout”