浏览代码

Fixed header import defines

Artur Chrusciel 7 年前
父节点
当前提交
d4b465a366
共有 2 个文件被更改,包括 6 次插入6 次删除
  1. 3
    3
      ios/RNFetchBlobNetwork.h
  2. 3
    3
      ios/RNFetchBlobRequest.h

+ 3
- 3
ios/RNFetchBlobNetwork.h 查看文件

6
 //  Copyright © 2016 wkh237. All rights reserved.
6
 //  Copyright © 2016 wkh237. All rights reserved.
7
 //
7
 //
8
 
8
 
9
+#ifndef RNFetchBlobNetwork_h
10
+#define RNFetchBlobNetwork_h
11
+
9
 #import <Foundation/Foundation.h>
12
 #import <Foundation/Foundation.h>
10
 #import "RNFetchBlobProgress.h"
13
 #import "RNFetchBlobProgress.h"
11
 #import "RNFetchBlobFS.h"
14
 #import "RNFetchBlobFS.h"
17
 #import "RCTBridgeModule.h"
20
 #import "RCTBridgeModule.h"
18
 #endif
21
 #endif
19
 
22
 
20
-#ifndef RNFetchBlobNetwork_h
21
-#define RNFetchBlobNetwork_h
22
-
23
 
23
 
24
 @interface RNFetchBlobNetwork : NSObject  <NSURLSessionDelegate, NSURLSessionTaskDelegate, NSURLSessionDataDelegate>
24
 @interface RNFetchBlobNetwork : NSObject  <NSURLSessionDelegate, NSURLSessionTaskDelegate, NSURLSessionDataDelegate>
25
 
25
 

+ 3
- 3
ios/RNFetchBlobRequest.h 查看文件

6
 //  Copyright © 2018 wkh237.github.io. All rights reserved.
6
 //  Copyright © 2018 wkh237.github.io. All rights reserved.
7
 //
7
 //
8
 
8
 
9
+#ifndef RNFetchBlobRequest_h
10
+#define RNFetchBlobRequest_h
11
+
9
 #import <Foundation/Foundation.h>
12
 #import <Foundation/Foundation.h>
10
 
13
 
11
 #import "RNFetchBlobProgress.h"
14
 #import "RNFetchBlobProgress.h"
16
 #import "RCTBridgeModule.h"
19
 #import "RCTBridgeModule.h"
17
 #endif
20
 #endif
18
 
21
 
19
-#ifndef RNFetchBlobRequest_h
20
-#define RNFetchBlobRequest_h
21
-
22
 @interface RNFetchBlobRequest : NSObject <NSURLSessionDelegate, NSURLSessionTaskDelegate, NSURLSessionDataDelegate>
22
 @interface RNFetchBlobRequest : NSObject <NSURLSessionDelegate, NSURLSessionTaskDelegate, NSURLSessionDataDelegate>
23
 
23
 
24
 @property (nullable, nonatomic) NSString * taskId;
24
 @property (nullable, nonatomic) NSString * taskId;