File tree Expand file tree Collapse file tree 4 files changed +56
-2
lines changed Expand file tree Collapse file tree 4 files changed +56
-2
lines changed Original file line number Diff line number Diff line change 10
10
* of patent rights can be found in the PATENTS file in the same directory.
11
11
*/
12
12
13
+ #if __has_include("RCTView.h")
13
14
#import " RCTView.h"
15
+ #else
16
+ #import < React/RCTView.h>
17
+ #endif
14
18
15
19
@class RCTWebViewBridge;
16
20
Original file line number Diff line number Diff line change 14
14
15
15
#import < UIKit/UIKit.h>
16
16
17
+ #if __has_include("RCTView.h")
18
+ #import " RCTView.h"
19
+ #else
20
+ #import < React/RCTView.h>
21
+ #endif
22
+
23
+ #if __has_include("RCTAutoInsetsProtocol.h")
17
24
#import " RCTAutoInsetsProtocol.h"
25
+ #else
26
+ #import < React/RCTAutoInsetsProtocol.h>
27
+ #endif
28
+
29
+ #if __has_include("RCTConvert.h")
18
30
#import " RCTConvert.h"
31
+ #else
32
+ #import < React/RCTConvert.h>
33
+ #endif
34
+
35
+ #if __has_include("RCTEventDispatcher.h")
19
36
#import " RCTEventDispatcher.h"
37
+ #else
38
+ #import < React/RCTEventDispatcher.h>
39
+ #endif
40
+
41
+ #if __has_include("RCTLog.h")
20
42
#import " RCTLog.h"
43
+ #else
44
+ #import < React/RCTLog.h>
45
+ #endif
46
+
47
+ #if __has_include("RCTUtils.h")
21
48
#import " RCTUtils.h"
22
- #import " RCTView.h"
49
+ #else
50
+ #import < React/RCTUtils.h>
51
+ #endif
52
+
23
53
#import " UIView+React.h"
24
54
#import < objc/runtime.h>
25
55
Original file line number Diff line number Diff line change 10
10
* of patent rights can be found in the PATENTS file in the same directory.
11
11
*/
12
12
13
+ #if __has_include("RCTViewManager.h")
13
14
#import " RCTViewManager.h"
15
+ #else
16
+ #import < React/RCTViewManager.h>
17
+ #endif
14
18
15
19
@interface RCTWebViewBridgeManager : RCTViewManager
16
20
Original file line number Diff line number Diff line change 11
11
*/
12
12
13
13
#import " RCTWebViewBridgeManager.h"
14
+ #import " RCTWebViewBridge.h"
14
15
16
+ #if __has_include("RCTBridge.h")
15
17
#import " RCTBridge.h"
18
+ #else
19
+ #import < React/RCTBridge.h>
20
+ #endif
21
+
22
+ #if __has_include("RCTUIManager.h")
16
23
#import " RCTUIManager.h"
17
- #import " RCTWebViewBridge.h"
24
+ #else
25
+ #import < React/RCTUIManager.h>
26
+ #endif
27
+
28
+ #if __has_include("RCTUIManager.h")
29
+ #import " RCTUIManager.h"
30
+ #else
31
+ #import < React/RCTUIManager.h>
32
+ #endif
33
+
18
34
#import " UIView+React.h"
19
35
20
36
@interface RCTWebViewBridgeManager () <RCTWebViewBridgeDelegate>
You can’t perform that action at this time.
0 commit comments