Weekly bite-sized screencasts on iOS development.

Displaying Episode 201 - 220 of 252 in total

RestKit - CoreData

Episode #52 | 12 minutes | published on 02/07/2013
Subscribers Only
In this episode we continue on our exploration of RestKit, this time with a focus on CoreData. It turns out to be fairly easy to change our existing code to support saving the responses into NSManagedObject classes in a database.

Intro to RestKit: Mapping

Episode #51 | 25 minutes | published on 01/31/2013
Subscribers Only
RestKit is a framework that aims to simplify the "plumbing" of your application to allow you to focus on your core features. In this screencast, I focus on fetching JSON from an API and mapping it onto our own objects using RestKit's mapping features.

Custom Cells

Episode #50 | 26 minutes | published on 01/24/2013
Subscribers Only
In this episode we design a custom table view cell including a designing custom repeatable background & highlight images in Photoshop, dynamically layout out the labels, as well as observing a tricky problem regarding cell animations. We also take a look at how to profile the graphics performance (FPS) using Instruments.

Slide Out Menus

Episode #49 | 18 minutes | published on 01/17/2013
Subscribers Only
In this episode I cover a few of the available 3rd party libraries for implementing a slide to reveal menu, similar to what you see in the Facebook application.

Code Snippets

Episode #48 | 10 minutes | published on 01/10/2013
Subscribers Only
In this episode we examine Xcode's code snippets feature and how it can speed up your day to day development. We also take a look at a handy gem for easily installing code snippets you've found online.

Gesture Recognizers

Episode #47 | 29 minutes | published on 01/03/2013
Subscribers Only
Detecting touches used to be a chore. Thanks to the UIGestureRecognizer family of classes, detecting touches & gestures is a breeze. In this episode we implement a Photo Table where you can add photos, move them around, as well as pinch & rotate.

Fun with UICollectionView

Episode #46 | 24 minutes | published on 12/20/2012
Subscribers Only
In this episode we dive into UICollectionView for displaying ... collections of views. We start by looking at how to tweak the builtin UICollectionViewFlowLayout as well as extending to create an interesting custom variation.

Validating IAP Receipts

Episode #45 | 12 minutes | published on 12/13/2012
Subscribers Only
Here we continue on with our In App Purchase example, but this time we take the receipt given to us by StoreKit and we send it to our custom rails server to be validated with Apple.

In App Purchases

Episode #44 | 35 minutes | published on 12/06/2012
Subscribers Only
In this episode I dive into the world of IAP (In App Purchases) using StoreKit. I start by creating a product in iTunes Connect, retrieving that product on the device, and emulating the App Store buy confirmation buttons using a handy CocoaPod.


Episode #43 | 14 minutes | published on 11/29/2012
Subscribers Only
The iOS SDK has numerous ways to play back audio. In this episode we take a look at how to play a local mp3 file using AVAudioPlayer. We add play/pause support, volume, and show the song progress in a UISlider. We finish it off by monitoring the audio levels using a custom view.

Retrying HTTP Requests

Episode #42 | 30 minutes | published on 11/16/2012
Subscribers Only
We pick up where we left off in Episode 41 and implement a mechanism to automatically detect expired authentication tokens, re-login the user automatically, and retry the original request. This takes a bit of refactoring and use of blocks, but allows for transparent HTTP retries.

Authentication with AFNetworking

Episode #41 | 18 minutes | published on 11/08/2012
Subscribers Only
Many APIs require some sort of authentication. In this episode, we explore the use of an API that authenticates with a username and password, and returns an authenticated token that has an expiration date. You'll see use of AFNetworking to deal with the request, attaching the authenticated token as an HTTP Header to outgoing requests, as well as the use of SSKeychain to abstract away the lower level Keychain API.

Shine Effect

Episode #40 | 10 minutes | published on 11/01/2012
Subscribers Only
Creating an animated shine effect, similar to what you see on the slide to unlock screen on the iPhone. In this episode, I show how to achieve this effect with CALayers, layer masks, and a CABasicAnimation.

Smart JSON Parsing

Episode #39 | 18 minutes | published on 10/25/2012
Subscribers Only
Parsing JSON responses into Objective-C Objects can be tedious. In this episode, we start development on a smart JSON parsing class that can alleviate some of the mundane work usually required for this functionality.

Class Introspection

Episode #38 | 18 minutes | published on 10/18/2012
Subscribers Only
In this episode I create an application to introspect classes to list out methods and instance variables using Objective-C's runtime features. Bonus: Can you spot the memory leak?

Xcode Tips & Tricks

Episode #37 | 13 minutes | published on 10/11/2012
Subscribers Only
In this episode I cover some of the Xcode tips & tricks that help me be effective. I cover many keyboard shortcuts for keeping my hands on the keyboard, as well as a couple of useful plugins for Xcode for Vim key bindings and picking colors.

Searching in UITableView

Episode #36 | 15 minutes | published on 10/04/2012
Subscribers Only
Using UISearchDisplayController you can quickly add searching behavior to a UITableView. In this this episode we start off with a CoreData model of products, displayed in custom UITableViewCells and add search to filter the products in the table.

Autolayout Fun

Episode #35 | 13 minutes | published on 09/27/2012
Subscribers Only
In this episode I dive into the complex world of auto layout. Autolayout is an important and powerful new layout system in iOS 6, but it definitely takes some practice to understand fully. Even after practicing this episode a few times I ran into a couple of snags, however I hope this intro to Autolayout provides useful.

Upgrading to iOS 6 and iPhone 5

Episode #34 | 7 minutes | published on 09/20/2012
Subscribers Only
Now that iOS 6 is out, and the iPhone 5 is only a day away, it is important to update our applications to make sure there are no issues. In this episode, I convert a rudimentary application to support the taller screen of the iPhone 5 and support iOS 6.

Core Graphics: Polygons

Episode #33 | 14 minutes | published on 09/13/2012
Subscribers Only
We continue our journey into Core Graphics. This week, we'll draw a polygon with a dynamic number of sides, learn how to use CGMutablePathRef, shadows, clipping paths, and a bit of math.