Made AFCacheableItem’s „isDownloading“ method public
Set AFCache version to 0.9.10
Code clean up
Code clean up
No need to check for duplicate „client items“ here as registerClientItem: already validates on it
removed method „requestsPending“ as it gets never called
Added „isDownloadingURL:“ method
Refactored method name of „isDownloading“ to „isQueuedOrDownloading“ as it invokes the corresponding method of AFCache
Renamed enum name
Moved implementation of „updateCacheStatus“ to where it is actually used
Removed „kCacheStatusDownloading“ as its usage does not show any well-thought concept. For now it is being replaced by an equivalent „isDownloading“ method.
Using modern syntax
Removed outdated comment
Moved variable declaration and initialization to where it is actually used
Code clean up
No need to test for „isDownloading“ as „downloadItem:“ already performs this test
Removed unused method „persistDownloadQueue“
Moved variable declaration to where it’s actually used; Added early method return to increase its readability
Removed „kAFCacheIgnoreDownloadQueue“ option allowing for inlining all method calls to handleDownloadItem:ignoreQueue:
removed „cacheEnabled“ property as it is never changed from YES to NO