isRunning method added at SDWebImageManager
This commit is contained in:
parent
c876cafa7a
commit
e8b1532cba
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue