Tag: Auto Layout
Posted on January 22, 2015
by Steven Lipton
3 Comments
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”
Category: Auto Layout and Size Classes, GUI, ios8, Swift Swift, Tutorial, UncategorizedTags: Auto Layout, calculator buttons, modal delegates in swift, modal view in swift, swift, swift and IB, swift tutorial, Xcode, xib, xib in swift
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 December 19, 2014
by Steven Lipton
2 Comments
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”
Category: Auto Layout and Size Classes, Swift Swift, TutorialTags: aligning buttons, Auto Layout, autolayout, even sized buttons., iPad, iphone 6 plus, regualr size classs, Regular, Size classes
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”
Posted on November 14, 2014
by Steven Lipton
4 Comments
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”
Category: GUI, ios8, Swift Swift, TutorialTags: Auto Layout, autolayout, ios8, iphone, Size classes, Story Board, UI design, universal apps
Posted on November 7, 2014
by Steven Lipton
6 Comments
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”
Posted on August 30, 2014
by Steven Lipton
23 Comments
[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”
Category: Swift Programming, Swift SwiftTags: Auto Layout, modal, modal view, modal view in swift, mulitasking, popover, popover cgrect, popover in swift, popover inrect, Size classes, swift
Posted on July 26, 2014
by Steven Lipton
54 Comments
[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”
Category: GUI, Swift Swift, TutorialTags: addConstraints, addConstraints in Swift, addSubview, addSubview in Swift, Apple swift, Auto Layout, Auto layout programmatically, Button in Swift Programatically, constraintsWithVisualFormat, setTranslatesAutoresizingMaskIntoConstraint, swift and UI, UIButton, UIInterfaceOrientationMask, UILabel, Visual Layout Language