Fix build on Xcode6
This commit is contained in:
parent
4566b67f98
commit
097b502eae
|
@ -11,7 +11,10 @@
|
|||
#import "UIImage+MultiFormat.h"
|
||||
#import <ImageIO/ImageIO.h>
|
||||
|
||||
@interface SDWebImageDownloaderOperation ()
|
||||
@interface SDWebImageDownloaderOperation () {
|
||||
BOOL _executing;
|
||||
BOOL _finished;
|
||||
}
|
||||
|
||||
@property (copy, nonatomic) SDWebImageDownloaderProgressBlock progressBlock;
|
||||
@property (copy, nonatomic) SDWebImageDownloaderCompletedBlock completedBlock;
|
||||
|
@ -173,12 +176,22 @@
|
|||
[self didChangeValueForKey:@"isFinished"];
|
||||
}
|
||||
|
||||
- (BOOL)finished
|
||||
{
|
||||
return _finished;
|
||||
}
|
||||
|
||||
- (void)setExecuting:(BOOL)executing {
|
||||
[self willChangeValueForKey:@"isExecuting"];
|
||||
_executing = executing;
|
||||
[self didChangeValueForKey:@"isExecuting"];
|
||||
}
|
||||
|
||||
- (BOOL)executing
|
||||
{
|
||||
return _executing;
|
||||
}
|
||||
|
||||
- (BOOL)isConcurrent {
|
||||
return YES;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue