AFNetworking/AFNetworking — pull request #517 by benoitb (2012-09-15 10:53:46+00:00)
Title: dispatch_retain & dispatch_release no longer needed with latest ARC

GCD queues are managed by ARC in iOS 6.0 and OS X 10.8. The dispatch_retain and dispatch_release methods cause the build to fail against these platforms.

The macro NEEDS_DISPATCH_RETAIN_RELEASE comes from the commit https://github.com/silvermana/CocoaHTTPServer/commit/f7129a7aae89b445d97285cb0dcbf230de2ecec1 of CocoaHTTPServer.

The macro definition is repeated in AFHTTPClient.m and AFHTTPRequestOperation.m. This could be perhaps improved.