AFNetworking/AFNetworking — pull request #322 by zwaldowski (2012-04-28 22:02:01+00:00)
Title: Restore iOS 4.0 compatibility

This pull request removes the use of imp_implementationWithBlock (available on iOS 4.3 and up) and replaces it with a similar method using Objective-C Associated Objects (available on iOS 4.0 and up). The swizzling adds/replaces a method that looks up an associated value for the selector on the current class. This is super-safe (not spectacularly safe; safe for the superclass chain).