Skip to content

Commit db261e4

Browse files
committed
fix: cleanup ios
1 parent d98f4e1 commit db261e4

File tree

2 files changed

+12
-9
lines changed

2 files changed

+12
-9
lines changed

ios/FastImage/FFFastImageView.h

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,10 @@
2222
@property (nonatomic, strong) FFFastImageSource *source;
2323
@property (nonatomic, strong) UIImage *defaultSource;
2424
@property (nonatomic, strong) UIColor *imageColor;
25-
26-
@property(nonatomic, assign) BOOL hasSentOnLoadStart;
27-
@property(nonatomic, assign) BOOL hasCompleted;
28-
@property(nonatomic, assign) BOOL hasErrored;
29-
// Whether the latest change of props requires the image to be reloaded
30-
@property(nonatomic, assign) BOOL needsReload;
31-
32-
@property(nonatomic, strong) NSDictionary* onLoadEvent;
3325
#ifdef RCT_NEW_ARCH_ENABLED
3426
@property(nonatomic) facebook::react::SharedViewEventEmitter eventEmitter;
3527
#endif
3628

37-
- (void)reloadImage;
3829
- (void)didSetProps:(NSArray<NSString*>*)changedProps;
3930

4031
@end

ios/FastImage/FFFastImageView.mm

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,18 @@
22
#import <SDWebImage/UIImage+MultiFormat.h>
33
#import <SDWebImage/UIView+WebCache.h>
44

5+
@interface FFFastImageView ()
6+
7+
@property(nonatomic, assign) BOOL hasSentOnLoadStart;
8+
@property(nonatomic, assign) BOOL hasCompleted;
9+
@property(nonatomic, assign) BOOL hasErrored;
10+
// Whether the latest change of props requires the image to be reloaded
11+
@property(nonatomic, assign) BOOL needsReload;
12+
13+
@property(nonatomic, strong) NSDictionary* onLoadEvent;
14+
15+
@end
16+
517
@implementation FFFastImageView
618

719
- (id) init {

0 commit comments

Comments
 (0)