Weekly bite-sized screencasts on iOS development.

Swift Networking

Episode #128 | 15 minutes | published on 07/17/2014
Subscribers Only
In this episode we take a look at the NSURLSession API from a Swift perspective. We create a class to fetch JSON from an API, and along the way see lazy properties and type aliases.

Swift Operators

Episode #127 | 10 minutes | published on 07/10/2014
Subscribers Only
One of Swift's powerful features is the ability to define custom operators. In this episode we take a look at two examples of custom operators, one for easy regular expression matching, and another for computing the dot product between two vectors.

Swift Classes

Episode #126 | 11 minutes | published on 07/03/2014
Subscribers Only
Continuing on with our Swift exploration, we focus this time on Swift classes. We talk about initializers, inheritance, protocols, type inspection, and more.

Swift Basics

Episode #125 | 12 minutes | published on 06/26/2014
Subscribers Only
In this episode we take a first look at Apple's brand new programming language Swift.

Method Swizzling

Episode #124 | 16 minutes | published on 06/19/2014
Subscribers Only
In this episode we delve into the wonderful Objective-C runtime in order to replace method implementations with our own. Using this technique we can add or change behavior to existing classes, which can be extremely useful for Aspect Oriented Programming (logging/benchmarking), or analytics.

STHTTPRequest

Episode #123 | 13 minutes | published on 06/13/2014
Subscribers Only
In this episode I take a look at a lightweight network library called STHTTPRequst. Specifically I like two features it provides: easy curl logging of outgoing requests, and a test response queue for performing unit tests against canned responses. Whether or not you want to use this library, there are some good things to learn here.

Animating with POP

Episode #122 | 19 minutes | published on 06/05/2014
Subscribers Only
In this episode I cover Facebook's new, shiny animation framework called Pop. With it we explore spring & decay animations that can make your apps feel more alive.

Mantle with Core Data Part 2

Episode #121 | 16 minutes | published on 05/29/2014
Subscribers Only
In this episode we continue with our mantle example, this time binding the code to the UI. This involves mapping back to our mantle model for display on the cell, as well as responding to changes using the NSFetchedResultsControllerDelegate protocol.

Mantle with Core Data

Episode #120 | 17 minutes | published on 05/22/2014
Subscribers Only
In this episode we cover a different feature of Mantle, which allows us to serialize our models into Core Data entities. This episode continues where we left off in Episode 116.

URL Scheme Callbacks

Episode #119 | 20 minutes | published on 05/15/2014
Subscribers Only
In this episode I cover the x-callback-url draft standard, which is an attempt to formalize a way that applications can exchange data back & forth. Using this technique you can have an application expose functionality available to another application. We'll cover parsing URLs to extract out query parameters and how to respond to callbacks in your application.

Integrating with 1Password

Episode #118 | 9 minutes | published on 05/08/2014
Subscribers Only
In this episode we talk about adding support for 1Password when creating your login forms. This is an easy technique that can add a nice touch to your applications if you need to support user login.

URL Schemes

Episode #117 | 10 minutes | published on 05/01/2014
Subscribers Only
In this episode I cover how you can expose your app's functionality through URL schemes. Inter-app communication is something that iOS is somewhat lacking in, but URL schemes can enable some handy integration scenarios.

Mantle

Episode #116 | 16 minutes | published on 04/24/2014
Subscribers Only
In this episode we go over a handy little model framework called Mantle. With Mantle we can easily get support for NSCoding, NSCopying, and JSON serialization for our model objects.

Submitting to the App Store

Episode #115 | 12 minutes | published on 04/17/2014
Subscribers Only
In this episode I walk through the process of submitting GiggleTouch to the App Store. Starting with setting the app up to take posed screenshots, requesting certificates, provisioning profiles, and more.

Playing Sounds with Sprite Kit

Episode #114 | 16 minutes | published on 04/10/2014
Subscribers Only
In this episode we add looping background music to the game using AVFoundation and AVAudioPlayer. We then add sound effects using Sprite Kit's SKAction. In order to reduce lag, we preload the audio files so that they play instantaneously. We also implement rate limiting to avoid sound effect overload using SAMRateLimit.

Giggletouch - Part 2

Episode #113 | 15 minutes | published on 04/03/2014
Subscribers Only
In this episode we continue on building GiggleTouch. This time we improve our random number functions, add a "giggler" node with SKSequence and test on a real device to see what kind of frame rate we get.

Giggletouch

Episode #112 | 31 minutes | published on 03/20/2014
Subscribers Only
In this episode I start recreating an old app for toddlers called Giggletouch. In the video I use SpriteKit to render shapes that are subsequently rotated, scaled, and faded. The shapes are drawn with Sketch and random colors are applied to the shape at runtime.

Xcode 5.1

Episode #111 | 6 minutes | published on 03/13/2014
Subscribers Only
In this episode we take a look at a couple of new features in Xcode 5.1. The first is creating your own Quick Look representations for custom objects, which can be quite a handy feature for visualizing data (such as images, locations, and paths). The second is a new Autolayout constraint in Interface Builder called "Aspect Ratio" which can further help describe your intent when laying out views with Autolayout.

Swipe to Reveal Redux

Episode #110 | 12 minutes | published on 03/06/2014
Subscribers Only
In this episode we fix the problem of a scroll view blocking touches to a UITableViewCell by forwarding touch events from the scroll view and onto a delegate, which manages the cell's highlighted state properly.

MDMCoreData

Episode #109 | 21 minutes | published on 02/27/2014
Subscribers Only
In this episode we add Core Data to our Weight Tracker application, but we lean on a new library called MDMCoreData to set up our Core Data stack for us. Using MDMCoreData we can get a sensible parent/child context set up where the main context is a child of the parent writer context. We also leverage a handy class that dovetails with NSFetchedResultsController to display records in a UITableView.