Change `isRunning` on manager from method to property
This commit is contained in:
parent
c24c3d3477
commit
c21381e83b
|
@ -134,6 +134,11 @@ SDWebImageManager.sharedManager.cacheKeyFilter = ^(NSURL * _Nullable url) {
|
||||||
*/
|
*/
|
||||||
@property (nonatomic, copy, nullable) SDWebImageCacheSerializerBlock cacheSerializer;
|
@property (nonatomic, copy, nullable) SDWebImageCacheSerializerBlock cacheSerializer;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Check one or more operations running
|
||||||
|
*/
|
||||||
|
@property (nonatomic, assign, readonly, getter=isRunning) BOOL running;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns global shared manager instance.
|
* Returns global shared manager instance.
|
||||||
*/
|
*/
|
||||||
|
@ -208,11 +213,6 @@ SDWebImageManager.sharedManager.cacheKeyFilter = ^(NSURL * _Nullable url) {
|
||||||
*/
|
*/
|
||||||
- (void)cancelAll;
|
- (void)cancelAll;
|
||||||
|
|
||||||
/**
|
|
||||||
* Check one or more operations running
|
|
||||||
*/
|
|
||||||
- (BOOL)isRunning;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Async check if image has already been cached
|
* Async check if image has already been cached
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue