steipete / SDURLCache

URLCache subclass with on-disk cache support on iPhone/iPad. Forked for speed!
http://twitter.com/steipete
MIT License
598 stars 102 forks source link

remove dispatch_release() call #22

Closed btjones closed 11 years ago

btjones commented 11 years ago

remove dispatch_release() call since ARC handles it (and forbids directly calling it) in iOS 6+

steipete commented 11 years ago

Thanks! We need to do this conditionally for iOS5 - also even on iOS6 you can opt out of ARC-managing GCD objects.

steipete commented 11 years ago

(We need sth like this: https://github.com/PSPDFKit/PSPDFKit-Demo/blob/master/PSPDFKit.embeddedframework/PSPDFKit.framework/Versions/A/Headers/PSPDFKitGlobal.h#L244)