我们再用SDWebImage第三方框架时,会遇到这种低级的问题,报错:Use of undeclared identifier _executing/_finished;其实就是因为没有实现@synthesize
解决办法
只需在SDWebImageDownloaderOperation的.m文件中添加@synthesize,重新编译即可,例如:
1
2
3
4
5
|
@implementation SDWebImageDownloaderOperation {
size_t
width, height;
UIImageOrientation orientation;
BOOL
responseFromCached;
}@synthesize executing=_executing;@synthesize finished=_finished;
|