The Swift Swift Tutorial: Ten Points for Using Optionals.

In the first month and a half of using Swift, I could argue the optional value is the most difficult new concept. It isn't hard, just something different to wrap one's head around. That Apple's documentation peppers information about optionals in two different e-books without consolidating the information doesn't help. I decided to combine what …

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 times you code a button or label instead of using Interface …

The Swift Swift Tutorial: Using Delegates and Segues in Swift Part 2 — The Pizza Demo App

In our last post, we went through a very basic framework for segues and delegates in Swift. This time, we will add the segues and delegates to the pizza demo application so we can change the prices in the dictionary for the pizzas. Swift and Xcode is still in beta, and there are quirks I'll …

The Swift Swift Tutorial: Using Segues and Delegates in Navigation Controllers (Part 1 — The Template)

[Updating to Swift 2.0  SJL 9/17/15] Click here for the Swift 3.0 version of this post It should be one of the easiest things we do, and yet for many it is the most confusing. Getting data from one view controller to another as you switch views never seems easy. Segues might be slightly difficult, …