Skip to content

Commit

Permalink
Fix iOS imports on RN 0.40+
Browse files Browse the repository at this point in the history
  • Loading branch information
guilhermebruzzi committed Feb 2, 2017
1 parent df9a25f commit ba28379
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 11 deletions.
2 changes: 1 addition & 1 deletion ios/RCTWebViewBridge.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* of patent rights can be found in the PATENTS file in the same directory.
*/

#import "RCTView.h"
#import <React/RCTView.h>

@class RCTWebViewBridge;

Expand Down
13 changes: 7 additions & 6 deletions ios/RCTWebViewBridge.m
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,13 @@

#import <UIKit/UIKit.h>

#import "RCTAutoInsetsProtocol.h"
#import "RCTConvert.h"
#import "RCTEventDispatcher.h"
#import "RCTLog.h"
#import "RCTUtils.h"
#import "RCTView.h"

#import <React/RCTAutoInsetsProtocol.h>
#import <React/RCTConvert.h>
#import <React/RCTEventDispatcher.h>
#import <React/RCTLog.h>
#import <React/RCTUtils.h>

#import "UIView+React.h"
#import <objc/runtime.h>

Expand Down
2 changes: 1 addition & 1 deletion ios/RCTWebViewBridgeManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* of patent rights can be found in the PATENTS file in the same directory.
*/

#import "RCTViewManager.h"
#import <React/RCTViewManager.h>

@interface RCTWebViewBridgeManager : RCTViewManager

Expand Down
7 changes: 4 additions & 3 deletions ios/RCTWebViewBridgeManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,11 @@
*/

#import "RCTWebViewBridgeManager.h"

#import "RCTBridge.h"
#import "RCTUIManager.h"
#import "RCTWebViewBridge.h"

#import <React/RCTBridge.h>
#import <React/RCTUIManager.h>

#import "UIView+React.h"

@interface RCTWebViewBridgeManager () <RCTWebViewBridgeDelegate>
Expand Down

0 comments on commit ba28379

Please sign in to comment.