Tag: Auto Layout

Swift Swift Tutorials: Calculator Style buttons in an Auto Layout Xib

Some people want calculator-type buttons. It would be nice to have such buttons for say, an order entry app. In this lesson we’ll put together a set of buttons to make a layout for an order entry system. Along the way I’ll show how… Continue Reading “Swift Swift Tutorials: Calculator Style buttons in an Auto Layout Xib”

Solving Conflicting Constraints in Auto Layout

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”

Basic Auto Layout: A Practical View for Beginners

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”

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”

Proportional Sizes in Autolayout

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”

Swift Swift: Using Auto Layout with Size Classes

Last week we looked at the basics of auto layout, this week, we learn Diagonal Control Drag Using the layout error  panel for misplaced layouts Introduce Size Classes Make a different layout for iPhone in portrait with Size Classes Transcript Hello, I’m Steve from… Continue Reading “Swift Swift: Using Auto Layout with Size Classes”

Swift Swift: Basic Auto Layout for iOS8

This is one of several videos I’m making about Auto Layout and Size classes. In this first video, I’ll put together a user interface and with Auto Layout. I’ll also show how to use the preview mode so you can see the UI on… Continue Reading “Swift Swift: Basic Auto Layout for iOS8”

The Swift Swift Tutorials: Adding Modal Views and Popovers

[Updated to Swift 2.0/iOS9 9/29/15] There are times your user interface needs to grab attention for a control. This is what modal views and popovers are. Modal views are one of the oldest of the view controllers. Some early applications on the iPhone were… Continue Reading “The Swift Swift Tutorials: Adding Modal Views and Popovers”

The Swift Swift Tutorial: How To Use UIViews With Auto Layout Programmatically

[Updated for Swift 2.0 9/16/15 SJL] Auto Layout in interface builder, can be a frustrating experience for those who do not know how to use it. Once you understand how to use Auto Layout, it becomes part of a simple workflow. However, there are… Continue Reading “The Swift Swift Tutorial: How To Use UIViews With Auto Layout Programmatically”