Featured iPhone Development Resources iOS Development Libraries Objective-C Open Source iOS Libraries And Tools

Open Source iOS Library Inspired by Ruby’s VCR For Recording/Playback Of HTTP Interactions

I’ve mentioned a few resources to help in debugging the network based features of an app such as Nocilla which allows you to easily generate HTTP stub requests.

Here’s an open source library that is inspired by Ruby’s VCR library allowing you to record your http interactions and replay the session VCRUrlConnection.

VCRURLConnection swizzles NSURLConnection allowing you to automatically save the complete HTTP interactions to disk on a JSON file that you can easily edit so you can quickly create tests for specific situations with invalid/missing networking data, and then easily play your original or customized interactions through your app.

You can find VCRURLConnection on Github here.

A very nice tool for quickly testing different situations where downloaded data could be invalid or missing.