2017-04-13 04:13:44 +00:00
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
|
|
|
|
#import <SDWebImage/UIImageView+WebCache.h>
|
2017-04-28 15:06:10 +00:00
|
|
|
#import <SDWebImage/SDWebImageDownloader.h>
|
2018-04-25 00:25:22 +00:00
|
|
|
|
|
|
|
// Import from the FLAnimated image CocoaPod if it's available.
|
|
|
|
#if __has_include(<FLAnimatedImage/FLAnimatedImageView.h>)
|
2017-11-30 04:23:46 +00:00
|
|
|
#import <FLAnimatedImage/FLAnimatedImageView.h>
|
2018-04-25 00:25:22 +00:00
|
|
|
// Import from the version within SDWebImage otherwise.
|
|
|
|
#elif __has_include(<SDWebImage/FLAnimatedImageView.h>)
|
|
|
|
#import <SDWebImage/FLAnimatedImageView.h>
|
|
|
|
#endif
|
2017-04-13 04:13:44 +00:00
|
|
|
|
|
|
|
#import <React/RCTComponent.h>
|
|
|
|
#import <React/RCTResizeMode.h>
|
|
|
|
|
|
|
|
#import "FFFastImageSource.h"
|
|
|
|
|
2017-05-04 06:45:28 +00:00
|
|
|
@interface FFFastImageView : FLAnimatedImageView
|
2017-04-13 04:13:44 +00:00
|
|
|
|
2017-07-24 02:28:35 +00:00
|
|
|
@property (nonatomic, copy) RCTDirectEventBlock onFastImageLoadStart;
|
|
|
|
@property (nonatomic, copy) RCTDirectEventBlock onFastImageProgress;
|
2017-07-04 01:58:24 +00:00
|
|
|
@property (nonatomic, copy) RCTDirectEventBlock onFastImageError;
|
|
|
|
@property (nonatomic, copy) RCTDirectEventBlock onFastImageLoad;
|
2017-07-24 02:28:35 +00:00
|
|
|
@property (nonatomic, copy) RCTDirectEventBlock onFastImageLoadEnd;
|
2017-07-04 01:58:24 +00:00
|
|
|
@property (nonatomic, assign) RCTResizeMode resizeMode;
|
|
|
|
@property (nonatomic, strong) FFFastImageSource *source;
|
2017-04-13 04:13:44 +00:00
|
|
|
|
|
|
|
@end
|
2017-07-04 01:58:24 +00:00
|
|
|
|