Merge pull request #2 from jakemarsh/patch-2

Removed (seemingly) unused _cachedRequests NSMutableSet.
This commit is contained in:
Mattt Thompson 2011-06-04 09:11:32 -07:00
commit 881ae7920f

View file

@ -24,15 +24,12 @@
#import "AFImageRequestOperation.h"
static NSOperationQueue *_operationQueue = nil;
static NSMutableSet *_cachedRequests = nil;
@implementation AFImageRequest
+ (void)initialize {
_operationQueue = [[NSOperationQueue alloc] init];
[_operationQueue setMaxConcurrentOperationCount:6];
_cachedRequests = [[NSMutableSet alloc] init];
}
+ (void)requestImageWithURLString:(NSString *)urlString options:(AFImageRequestOptions)options block:(void (^)(UIImage *image))block {