Weekly bite-sized screencasts on iOS development.

Displaying Episode 161 - 180 of 252 in total

Background Fetch

Episode #92 | 14 minutes | published on 10/24/2013
Subscribers Only
In this episode we write an application that takes advantage of iOS 7's background fetch feature, allowing us to keep our application updated in the background so that the user doesn't have to wait for updated data when the application is launched.

AFNetworking 2.0

Episode #91 | 19 minutes | published on 10/17/2013
Subscribers Only
In this episode we take a look at the brand new design of AFNetworking 2.0. We'll convert our TuneStore application to leverage AFNetworking and clean up our View Controller by introducing a new class to handle the network plumbing. We'll also take a look at a handy UIKit category for easily managing an activity indicator's state.

Table View Images in iOS 7

Episode #90 | 10 minutes | published on 10/10/2013
Subscribers Only
In this episode we continue our example from Episode 89, using NSURLSessionDataTask to download images for our rows. We also see how we can benefit from the built-in cache settings of NSURLSessionConfiguration and how to efficiently request images while scrolling.

Networking in iOS 7

Episode #89 | 16 minutes | published on 10/03/2013
Subscribers Only
In this episode we take a look at the brand new NSURLSession family of classes. We'll consume the iTunes Affiliate Search API and show how to do a simple GET request.

Interactive View Controller Transitions

Episode #88 | 18 minutes | published on 09/26/2013
Subscribers Only
In this episode we continue our transition example from episode 86. We create a new InteractiveSwipe transition class that we can use for dismissal so the user can swipe the view controllers away instead of tapping a button.

Xcode 5 Autolayout Improvements

Episode #87 | 7 minutes | published on 09/26/2013
Free Video
This week we have another free bonus video on the improvements that Xcode 5 brings to Autolayout. As something that has been quite obnoxious to work with in the past, many people dismissed auto layout when it was introduced to iOS 6. With these improvements it is much more friendly and dare I say... usable?

iOS 7 View Controller Transitions

Episode #86 | 18 minutes | published on 09/19/2013
Subscribers Only
Now that the iOS 7 is out and the NDA has been lifted you can expect NSScreencast to cover lots of the new features. In this episode I show how you can take a simple stock modal transition for a color picker and create something more unique and playful that fits with the "swatch" theme.

Hello, iOS 7

Episode #85 | 7 minutes | published on 09/19/2013
Free Video
To celebrate the launch of iOS 7, here is a bonus free screencast covering a few of the concepts in iOS 7 such as the status bar behavior, tint color, and navigation bar transitions. We'll also take a look at Xcode 5 with a couple of the new features, including the integrated test runner.

xctool

Episode #84 | 8 minutes | published on 09/12/2013
Subscribers Only
Trying to run unit tests with xcodebuild leaves a lot to be desired. In this screencast I'll show you why xctool is a superior alternative. Quick, parsable build output and easy to follow pass/fail status on test runs make xctool worth checking out.

TDD View Controllers Part 2

Episode #83 | 18 minutes | published on 09/05/2013
Subscribers Only
We continue our TDD exercise, building a view controller one test at a time using Specta and OCMock. This time we introduce the alert view behavior for invalid logins, performing a segue for valid logins, and capturing arguments passed to mocks in order to affect the system, all in tests.

TDD View Controllers with Specta and OCMock

Episode #82 | 16 minutes | published on 08/29/2013
Subscribers Only
In this episode I cover test driving a UIViewController using Specta and OCMock. We'll first talk about how to verify that your storyboard is wired up correctly with all outlets & actions and then talk about how to isolate the view controller from other dependencies using mock objects.

Associated Objects

Episode #81 | 10 minutes | published on 08/22/2013
Subscribers Only
In this episode I add a block-based tap handler to UIButton, and discovering the limitation that categories can't define ivars or properties. To fix this, we use the objective-c runtime to add associated object storage. We also identify a block retain cycle and discuss a fix.

PaintCode

Episode #80 | 10 minutes | published on 08/15/2013
Subscribers Only
In this episode I cover a really interesting & powerful tool called PaintCode. With this vector-based drawing app you can export your artwork as Core Graphics source code.

Sketch

Episode #79 | 13 minutes | published on 08/08/2013
Subscribers Only
In this episode I take a break from code to show off a powerful vector drawing program called Sketch. I show off some Sketch basics, create a simple (yet cheesy) cloud icon, and show how Sketch can be used to design mockups or full-fledged designs.

TDD Money Part 2

Episode #78 | 41 minutes | published on 08/01/2013
Subscribers Only
In part 2 we continue our Money example. We start by adding the ability to add 2 Moneys of the same currency, then extract the concept of Expressions in order to defer conversion until the very end.

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.

OAuth2

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.