Tag: swift tutorial

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…

Kinderswift 8 Challenge Answers

Watch the video for any commentary. Here are two answers. There a lot of possible ones. Answer 1 Answer 2

KinderSwift Episode 3: Variable Assignment in the Xcode Playground

In this episode of our beginner’s series on Swift, we will dive into programming with the most fundamental part: assignment of values to identifiers. We’ll use the new Xcode playground feature to explore var and let. We’ll learn how to add numbers and a…

The Swift Swift Tutorial: Using Tuples and Creating Multiple-Return Functions

While not classified as a collection type by Apple, tuples are the new collection-like type found in Swift. Tuples fit in a strange place between structs and arrays, but allow for some rather remarkable flexibility in code — particularly when returning more than one…

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…

The Swift Swift Tutorial: How to Use Split View on iPad (Round 1)

Back in July of 2014, I wrote this first post on using UISplitViewController in Swift. I gave how to use Apple’s template, which has a few interesting quirks, such as ARC killing@IBOutlets at the drop of a hat. I said I would write another…