Category: Auto Layout and Size Classes
Posted on February 20, 2019
by Steven Lipton
Leave a Comment
Learn how to take a disaster of nested stack views and untangle it into a great user interface.
Category: Auto Layout and Size Classes, GUI, iOS Development Weekly Tips, ios12, LinkedIn Learning / Lynda.com, Swift, Swift Programming, TutorialTags: ios, stack view, stack views, Story Board, storyboard, Storyboards, UIStackView, Xcode
Posted on January 23, 2019
by Steven Lipton
Leave a Comment
UI doesn’t have to look like a rectangle. You might want a different shape for your icon. You can do that with layer masks. Let’s learn how to set them up. Download the example files. You’ll find an app with two square buttons. If… Continue Reading “CALayer Masks”
Category: Auto Layout and Size Classes, GUI, iOS Development Weekly Tips, ios12, LinkedIn Learning / Lynda.com, Swift 4.0, Swift Programming, TutorialTags: App Programming, Apple swift, Buttons, CALayer, cutouts, graphics, GUI, ios, Layer, Mask, UI, UX, views
Posted on October 31, 2018
by Steven Lipton
Leave a Comment
Note:You can find a video of this tip here on LinkedIn Learning If there’s one thing in auto layout that drives me nuts it is laying out for landscape different than portrait on an iPad. Phones are easy since the class sizes are different… Continue Reading “Layout iPad Landscape and Multitasking Apps”
Category: Auto Layout and Size Classes, GUI, ios12, LinkedIn Learning / Lynda.com, Swift Programming, Tutorial, Xcode 10Tags: autolayout, autolayout programmatically, ios, iPad, landscape, layout, observers, portrait, property observers, rotation, swift
Posted on August 29, 2018
by Steven Lipton
3 Comments
Note: You can also watch a video of this lesson at Lynda. com and LinkedInLearning. There’s been a few changes to the storyboard in Xcode 10, some might just drive you crazy if you don’t know how to use them. Some are really cool… Continue Reading “Xcode 10 Storyboard Changes”
Category: Auto Layout and Size Classes, GUI, Improvements and bugs, iOS Development Weekly Tips, LinkedIn Learning / Lynda.com, Xcode 10Tags: embed, scroll view, stack view, Storyboards, UIScrollView, UIStackView, Xcde 10
Posted on February 13, 2018
by Steven Lipton
Leave a Comment
iOS Development Tips Weekly is a series you can find at the Lynda.com and LinkedIn Learning libraries. You can find the start project here on GitHub iOS Developer’s Weekly: Layout and iPhone X With the introduction of the iPhone X, you get that full… Continue Reading “The Safe Area: Layout and iPhone X”
Posted on September 18, 2017
by Steven Lipton
Leave a Comment
A few months ago, Apple threw out my app Interval Runcalc for being too old. While it wasn’t the most innovative, complex or profitable, it was an app I used frequently myself. It was a calculator for time, pace and distance for running not… Continue Reading “This Old App: Update to Xcode 9”
Category: Auto Layout and Size Classes, iOS 11, This Old App, Xcode 9Tags: @objc, App Programming, Apple swift, Auto Layout, ios11, iPhone Programming, iPhone X, layout, swift, Updating, Xcode 9
Posted on July 6, 2016
by Steven Lipton
12 Comments
In this lesson, we’ll take a look at tab bar controllers and how to add them in the storyboard. For more on implementing them completely in code see Swift Swift: Using Tab Bar Controllers in Swift. For more on data sharing once set up… Continue Reading “Tab Bar Controllers in Xcode 8 Storyboards”
Category: Auto Layout and Size Classes, ios8, Swift Programming, Swift Swift, TutorialTags: autolayout, iPhone Programming, more, swift programming, Tab bar, tab bar icon color, Tab Bar Icons, Tab bar items, Tab bar more, Xcode, xibs in swift
Posted on April 11, 2016
by Steven Lipton
9 Comments
Ever wanted that sliding sidebar or an alert with a image picker? Apple has many great ways of presenting view controllers, but sometimes we want something different, something new. For that we subclass UIPresentationController. However there’s a few concepts that you’ll need to wrap… Continue Reading “The Step by Step Guide to Custom Presentation Controllers”
Category: Auto Layout and Size Classes, GUI, ios8, iOS9, Swift, Swift Programming, TutorialTags: animation, custom, dismissal, gestures, presentation, presentationTransitionWillBegin, UIPresentationController, UIViewControllerAnimatedTransitioning, UIViewControllerContextTransitioning, UIViewControllerTransitioningDelegate
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 November 11, 2015
by Steven Lipton
22 Comments
Some people don’t like Interface Builder and like to code instead. Sometimes your layout is so dynamic you need to lay out in code. In either case, programmatic layout of views becomes the answer instead of auto layout. In Xcode 7 Apple introduced stack… Continue Reading “How to Add Stack Views Programmatically and (almost) avoid AutoLayout”
Category: Auto Layout and Size Classes, GUI, iOS9, Swift, Swift Programming, Swift Swift, TutorialTags: Auto Layout, autolayout, stack view, swift, UIStackView