Skip to content

Commit 626f4b0

Browse files
committed
refactor(ios): re-align some autosynthesized properties
When building, we get the following warnings regarding the properties of `ReactNativeBlobUtilProgress`: Autosynthesized property 'count' will use synthesized instance variable '_count', not existing instance variable 'count' Autosynthesized property 'enable' will use synthesized instance variable '_enable', not existing instance variable 'enable' Autosynthesized property 'interval' will use synthesized instance variable '_interval', not existing instance variable 'interval' Autosynthesized property 'type' will use synthesized instance variable '_type', not existing instance variable 'type' As all access is via these synthesized properties, the declared instance variables can be removed.
1 parent b6c7f6f commit 626f4b0

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

ios/ReactNativeBlobUtilProgress.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,6 @@ typedef NS_ENUM(NSUInteger, ProgressType) {
1717
};
1818

1919
@interface ReactNativeBlobUtilProgress : NSObject
20-
{
21-
NSNumber * count;
22-
NSNumber * interval;
23-
ProgressType type;
24-
BOOL enable;
25-
26-
}
2720

2821
@property (nonatomic) NSNumber * count;
2922
@property (nonatomic) NSNumber * interval;

0 commit comments

Comments
 (0)