No need for explicit ivar and getters, as long as we have the @synthesize in place

This commit is contained in:
Bogdan Poplauschi 2014-07-14 13:01:05 +03:00
parent 39db378082
commit 0b47342b2f
1 changed files with 1 additions and 14 deletions

View File

@ -12,10 +12,7 @@
#import <ImageIO/ImageIO.h>
#import "SDWebImageManager.h"
@interface SDWebImageDownloaderOperation () <NSURLConnectionDataDelegate> {
BOOL _executing;
BOOL _finished;
}
@interface SDWebImageDownloaderOperation () <NSURLConnectionDataDelegate>
@property (copy, nonatomic) SDWebImageDownloaderProgressBlock progressBlock;
@property (copy, nonatomic) SDWebImageDownloaderCompletedBlock completedBlock;
@ -181,22 +178,12 @@
[self didChangeValueForKey:@"isFinished"];
}
- (BOOL)isFinished
{
return _finished;
}
- (void)setExecuting:(BOOL)executing {
[self willChangeValueForKey:@"isExecuting"];
_executing = executing;
[self didChangeValueForKey:@"isExecuting"];
}
- (BOOL)isExecuting
{
return _executing;
}
- (BOOL)isConcurrent {
return YES;
}