您的位置:首页 > 运维架构

Xcode7编译SDWebImage报错解决方法(SDWebImageDownloaderOperation.m错误)

2016-08-10 11:48 591 查看
报错:

    Use of undeclared identifier '_executing';
    Use of undeclared identifier '_finished';

解决方法:

在SDWebImageDownloaderOperation类的实现中(@implementation SDWebImageDownloaderOperation{...}下面)添加:

@synthesize executing = _executing ;
@synthesize finished = _finished;

即可。

从Xcode6开始基本都会报这个错误,只需按照上面的方法解决就行了。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息