Weekly bite-sized screencasts on iOS development.

Displaying Episode 181 - 200 of 257 in total

TDD Money with Specta and Expecta

Episode #77 | 35 minutes | published on 07/25/2013
Subscribers Only
In this episode I walk through Kent Beck's Money example from his book, Test Driven Development by example. We'll start off by setting up to use Specta & Expecta for our tests, and then drive out an implementation test-first. We'll see opportunities for refactoring and use our tests to guide us.

Extracting Data From Strings

Episode #76 | 15 minutes | published on 07/18/2013
Subscribers Only
In this episode I cover a few techniques on how to pull information out of strings. We start of by using regular expressions via NSRegularExpression, then take a look at NSDataDetector, and wrap up by examining the lexical structure of sentences using NSLinguisticTagger.

A Tale of UIScrollView Customization

Episode #75 | 16 minutes | published on 07/11/2013
Subscribers Only
In this episode I attempt to implement a custom scroll view behavior, where a table view can grow while scrolling to eventually encompass the entire screen. The implementation, while mostly functional, has drawbacks and the code is complicated. After taking a break, I approach the problem anew, and implement it much cleaner.


Episode #74 | 11 minutes | published on 07/05/2013
Subscribers Only
In this episode we cover how to authenticate with an OAuth2 provider for user authentication. As an example, we authenticate with Instagram using the Client Profile, which is most suited to a mobile application.

SSL Pinning

Episode #73 | 8 minutes | published on 06/28/2013
Subscribers Only
In this episode I show how you can self-sign a certificate in Charles to inspect and modify requests & responses to an API. Using a technique called SSL Pinning, we can prevent this type of man in the middle attack and make our applications more secure.

Objective-C Collections

Episode #72 | 14 minutes | published on 06/21/2013
Subscribers Only
Choosing the appropriate collection for your use case is important, not only for ease of implementation but for performance. In this episode, we'll examine the performance characteristics of various collections such as NSSet, NSArray, NSOrderedSet, and NSDictionary.


Episode #71 | 9 minutes | published on 06/13/2013
Subscribers Only
In this episode I take a look at NSNumberFormatter, which is a useful class for getting various string representations of numbers. We then use this to add live number formatting to a UITextField.

Autolayout with Cells

Episode #70 | 8 minutes | published on 06/06/2013
Subscribers Only
Autolayout can be very powerful tool to provide layouts that are responsive to changes. In this episode we'll visit a case with UITableViewCells that makes using auto-layout somewhat frustrating, where constraints are applied to the cell itself instead of the cell's contentView.


Episode #69 | 18 minutes | published on 05/30/2013
Subscribers Only
In this episode we take a look at how to correctly detect & respond to underlying changes in an NSManagedObjectContext and insert, update, move, and remove UITableView rows with the proper animations.

Xcode Project Templates

Episode #68 | 13 minutes | published on 05/23/2013
Subscribers Only
In this episode we dive into the undocumented world of Xcode project templates. By studying the existing templates, we can learn how to make our own templates that better match our style or needs.

Map Overlays

Episode #67 | 14 minutes | published on 05/16/2013
Subscribers Only
In this episode we take the shape file data we parsed in episode 66 and use it to draw outlines around US States. We do this using the MKPolygon overlay in combination with MKPolygonView, which allows us to fill & stroke the provided vertices.

Processing Shape Files

Episode #66 | 21 minutes | published on 05/09/2013
Subscribers Only
In this episode I cover how to parse ESRI Shapefiles and their DBF attribute counterparts, in order to get a list of vertices of US State boundaries. This episode covers interacting with a C library (shapelib). The data extracted will be useful in the next episode.

Alcatraz Package Manager

Episode #65 | 3 minutes | published on 05/02/2013
Subscribers Only
In this short episode I quickly cover the Alcatraz Package Manager for Xcode, which allows you to easily install many user contributed plugins and color shemes in Xcode.

MapKit Annotations

Episode #64 | 14 minutes | published on 04/25/2013
Subscribers Only
In this episode I continue our WhatsAround sample from Episode 63. Using the Foursquare API, we fetch coffee shops near the user's location and display a pin on the map for each using the MKAnnotation protocol.

From Scratch

Episode #63 | 15 minutes | published on 04/18/2013
Subscribers Only
In this episode I go over how I typically start new projects. I start off when an empty app template, do a bit of organization with groups to keep things tidy, introduce CocoaPods and a workspace, and wrap it up by setting up a map view controller using Storyboards on both the iPhone and the iPad. This project will be handy to use as a base for future episodes.

Mailing Logs

Episode #62 | 10 minutes | published on 04/11/2013
Subscribers Only
In this episode we continue with our example from last week's logging episode, and discuss how you can retrieve your logs out in the field. We use a pod called SSZipArchive to zip up the files as well as MFMailComposeViewController to enable testers to send us detailed logs of what is happening in the app.

Cocoa Lumberjack

Episode #61 | 10 minutes | published on 04/04/2013
Subscribers Only
In this episode we take a look at a fast & flexible alternative logging framework for iOS called Cocoa Lumberjack. We take a look at the various loggers that are available and how to write logs to a file.

Windows Azure Mobile Services Part 2

Episode #60 | 27 minutes | published on 04/02/2013
Free Video
We continue with our example chat application here and add the ability post a message, poll for updates, and receive push notifications. This episode utilizes a pod calles MessagesTableView controller to present an SMS like interface for the messages.

Windows Azure Mobile Services

Episode #59 | 24 minutes | published on 03/28/2013
Free Video
This week we take a look at Windows Azure Mobile Services, a back-end for mobile applications that has first class iOS support. In this episode we begin building a full featured chat application. This is part 1 of 2, in which we set up a new mobile service, wire up the SDK with CocoaPods, set up Twitter authentication and enrich the data using Javascript on the server. This episode has been sponsored by Microsoft.

Container View Controllers

Episode #58 | 15 minutes | published on 03/21/2013
Subscribers Only
In this episode I create a container view controller using the UIViewController containment APIs. The container view controller mimicks a style where the starting view controller fades into the background instead of sliding to the left.