UIView+MOBFWebCache.h 431 B

12345678910111213141516171819
  1. //
  2. // UIView+MOBFWebCache.h
  3. // MOBFoundation
  4. //
  5. // Created by wukx on 2018/6/6.
  6. // Copyright © 2018年 MOB. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. typedef void(^MOBFSetImageBlock)(UIImage * _Nullable image, NSError * _Nullable error);
  10. @interface UIView (MOBFWebCache)
  11. - (void)mobf_internalSetImageWithURL:(nullable NSURL *)url
  12. setImageBlock:(nullable MOBFSetImageBlock)setImageBlock;
  13. @end