One of my readers, Andrew VanWagoner, decided to put together a short tutorial that follows up the iOS 8 Swift Tutorial I put together last month. So I’m sharing it here with you all! Andrew is a Senior Software Engineer working for Adobe in Lehi, Utah. You can find out more about Andrew at his…
Category: Programming
Programming related posts
Running Swift Scripts From The Command Line
Swift Scripts From The Command Line This post updated for Xcode 6.1 One of the great features of swift is it’s ability to be used on the command line. It’s actually really easy to do, and I’ll show you how to make an executable Swift file in this tutorial. First let’s create a new Swift…
Making a POST request in Swift
This post updated September 16 for Xcode 6 GM Let’s say you’re working on an iOS app where you need to pass data to a server as JSON. Just about every app that interacts with a server does this, and almost always there is a login API call. For the purposes of this tutorial, I’m…
Swift: “fatal error: unexpectedly found nil while unwrapping an Optional value” errors in Swift
fatal error: unexpectedly found nil while unwrapping an Optional value Have you seen this yet working with Swift yet? If so, you’re not alone. In this post I’m going to dig in to what this means, and explain a bit about optionals in Swift. For those of you who are experienced programmers and have arrived…
Developing iOS 8 Apps Using Swift – Animations, Audio, and Custom Table View Cells (Part 7)
This section completely updated to reflect changes in Xcode 6.3, as of April 17, 2015 In parts 1 through 6 we went over some basics of Swift, and set up a simple example project that creates a Table View and a puts some API results from iTunes inside of them. If you haven’t read that…
Developing iOS 8 Apps Using Swift – Interaction with multiple views (Part 6)
This section completely updated to reflect changes in Xcode 6.3, as of April 16, 2015 In parts 1 through 5 we went over some basics of Swift, and set up a simple example project that creates a Table View and a puts some API results from iTunes inside of them. If you haven’t read that…
Developing iOS Apps Using Swift Part 5 – Async image loading and caching
This section completely updated to reflect changes in Xcode 6.3, as of April 16, 2015 In parts 1 through 4 we went over some basics of Swift, and set up a simple example project that creates a Table View and a puts some API results from iTunes inside of them. If you haven’t read that…
Developing iOS Apps Using Swift Part 4 – Adding Interactions
This section completely updated to reflect changes in Xcode 6.3, as of April 16, 2015 In parts 1, 2, and 3 we went over some basics of Swift, and set up a simple example project that creates a Table View and a puts some API results from iTunes inside of them. If you haven’t read…
Developing iOS Apps Using Swift Part 3 – Best Practices
This section completely updated to reflect changes in Xcode 6.3, as of April 16, 2015 In parts 1 & 2 we went over some basics of Swift, and set up a simple example project that creates a Table View and a puts some API results from iTunes inside of them. If you haven’t read that…
Developing iOS Apps Using Swift Tutorial Part 2
This section completely updated to reflect changes in Xcode 8.3.1, as of April 17, 2017 In part 1 we went over some basics of Swift, and set up a simple example project that creates a Table View and a puts some text inside of them. If you haven’t read that yet, give it a read…