0
Я просто добавил к моему проекту SDWebImage, но я действительно не могу понять, как использовать следующий метод:Как объявить UIImageView с SDWebImage
[cell.img setImageWithURL:[NSURL URLWithString:@"http://www.domain.com/path/to/image.jpg"]
placeholderImage:[UIImage imageNamed:@"placeholder.png"]];
, но я получаю сообщение об ошибке:
No visible @interface for 'UIImageView' declares the selector 'setImageWithURL:placeholderImage:'
Я добавил заголовок:
#import "UIImageView+WebCache.h"
и объявил img как UIImageView, что мне не хватает?