Skip to content

Commit fc72bfe

Browse files
author
Ali Najafizadeh
authored
Merge pull request #230 from ericmuyser/master
Fix iOS
2 parents cab93e4 + f1ff276 commit fc72bfe

File tree

4 files changed

+15
-18
lines changed

4 files changed

+15
-18
lines changed

ios/RCTWebViewBridge.h

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,17 @@
1010
* of patent rights can be found in the PATENTS file in the same directory.
1111
*/
1212

13-
#import "RCTView.h"
13+
#import <UIKit/UIKit.h>
14+
15+
#import <React/RCTAutoInsetsProtocol.h>
16+
#import <React/RCTConvert.h>
17+
#import <React/RCTEventDispatcher.h>
18+
#import <React/RCTLog.h>
19+
#import <React/RCTUtils.h>
20+
#import <React/RCTView.h>
21+
#import <React/UIView+React.h>
22+
23+
#import <objc/runtime.h>
1424

1525
@class RCTWebViewBridge;
1626

ios/RCTWebViewBridge.m

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,6 @@
1212

1313
#import "RCTWebViewBridge.h"
1414

15-
#import <UIKit/UIKit.h>
16-
17-
#import "RCTAutoInsetsProtocol.h"
18-
#import "RCTConvert.h"
19-
#import "RCTEventDispatcher.h"
20-
#import "RCTLog.h"
21-
#import "RCTUtils.h"
22-
#import "RCTView.h"
23-
#import "UIView+React.h"
24-
#import <objc/runtime.h>
25-
2615
//This is a very elegent way of defining multiline string in objective-c.
2716
//source: http://stackoverflow.com/a/23387659/828487
2817
#define NSStringMultiline(...) [[NSString alloc] initWithCString:#__VA_ARGS__ encoding:NSUTF8StringEncoding]

ios/RCTWebViewBridgeManager.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@
1010
* of patent rights can be found in the PATENTS file in the same directory.
1111
*/
1212

13-
#import "RCTViewManager.h"
13+
#import <React/RCTViewManager.h>
14+
#import <React/RCTUIManager.h>
15+
16+
#import "RCTWebViewBridge.h"
1417

1518
@interface RCTWebViewBridgeManager : RCTViewManager
1619

ios/RCTWebViewBridgeManager.m

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,6 @@
1212

1313
#import "RCTWebViewBridgeManager.h"
1414

15-
#import "RCTBridge.h"
16-
#import "RCTUIManager.h"
17-
#import "RCTWebViewBridge.h"
18-
#import "UIView+React.h"
19-
2015
@interface RCTWebViewBridgeManager () <RCTWebViewBridgeDelegate>
2116

2217
@end

0 commit comments

Comments
 (0)