Skip to content

Commit

Permalink
Derive FFFastImageView from UIImageView instead of FLAnimatedImageView
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmetardal committed Jul 16, 2018
1 parent 05830ad commit 3a88a3f
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions ios/FastImage/FFFastImageView.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,12 @@
#import <SDWebImage/UIImageView+WebCache.h>
#import <SDWebImage/SDWebImageDownloader.h>

// Import from the FLAnimated image CocoaPod if it's available.
#if __has_include(<FLAnimatedImage/FLAnimatedImageView.h>)
#import <FLAnimatedImage/FLAnimatedImageView.h>
// Import from the version within SDWebImage otherwise.
#elif __has_include(<SDWebImage/FLAnimatedImageView.h>)
#import <SDWebImage/FLAnimatedImageView.h>
#endif

#import <React/RCTComponent.h>
#import <React/RCTResizeMode.h>

#import "FFFastImageSource.h"

@interface FFFastImageView : FLAnimatedImageView
@interface FFFastImageView : UIImageView

@property (nonatomic, copy) RCTDirectEventBlock onFastImageLoadStart;
@property (nonatomic, copy) RCTDirectEventBlock onFastImageProgress;
Expand Down

0 comments on commit 3a88a3f

Please sign in to comment.