FWSDWebImageImpl


@interface FWSDWebImageImpl : NSObject

SDWebImage图片插件,启用SDWebImage子模块后生效

  • 单例模式

    Declaration

    Objective-C

    @property (class, nonatomic, readonly) FWSDWebImageImpl *_Nonnull sharedInstance;
  • 图片加载完成是否显示渐变动画,默认NO

    Declaration

    Objective-C

    @property (nonatomic) BOOL fadeAnimated;
  • 图片自定义句柄,setImageURL开始时调用

    Declaration

    Objective-C

    @property (nonatomic, copy, nullable) void (^) (UIImageView *_Nonnull __strong) customBlock;