Tag: UIButton

This Old App: Another Bug, Another Day

One of the biggest hazards of indie developers is getting full of themselves. You’ll do things that you think are right or you found on StackOverflow from some other indie developer the looks like good code. Then someone comes along and tells you otherwise.… Continue Reading “This Old App: Another Bug, Another Day”

Swift Swift: How to Make a Drop Shadow in User Interfaces

Flat User interfaces are a lie. They are not completely flat. One effect continues to be used with them to show depth: Shadows. In flat interfaces it can look like there are some views floating above others by the use of shadows. In this… Continue Reading “Swift Swift: How to Make a Drop Shadow in User Interfaces”

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 Color and UIColor in Swift Part 1: RGB

[Updated to Swift 2.0/iOS9.0 9/18/15 SJL – errors corrected 11/20/15] I’m color blind, and that makes me a very good person to teach you about color and UIColor.  I’ve painted for many years and my color blindness does not detract but actually helps me… Continue Reading “Swift Swift: Using Color and UIColor in Swift Part 1: RGB”

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”