Authored by kawanet

isRunning method added at SDWebImageManager

... ... @@ -118,4 +118,9 @@ typedef void(^SDWebImageCompletedWithFinishedBlock)(UIImage *image, NSError *err
*/
- (void)cancelAll;
/**
* Check one or more operations running
*/
- (BOOL)isRunning;
@end
... ...
... ... @@ -134,6 +134,11 @@
});
}
- (BOOL)isRunning
{
return self.runningOperations.count > 0;
}
@end
@implementation SDWebImageCombinedOperation
... ...