Merge pull request #36 from tohjg/master

Support React Native 0.40.x header imports
This commit is contained in:
Mark Vayngrib 2017-02-15 09:31:51 -05:00 committed by GitHub
commit 5119ee2e70
5 changed files with 10 additions and 27 deletions

View File

@ -7,7 +7,7 @@
// //
#import <Foundation/Foundation.h> #import <Foundation/Foundation.h>
#import "RCTBridgeModule.h" #import <React/RCTBridgeModule.h>
extern NSString *const RCTUDPErrorDomain; extern NSString *const RCTUDPErrorDomain;

View File

@ -9,7 +9,7 @@
#import <netinet/in.h> #import <netinet/in.h>
#import <arpa/inet.h> #import <arpa/inet.h>
#import "UdpSocketClient.h" #import "UdpSocketClient.h"
#import "RCTBridgeModule.h" #import <React/RCTBridgeModule.h>
#import "GCDAsyncUdpSocket.h" #import "GCDAsyncUdpSocket.h"
NSString *const RCTUDPErrorDomain = @"RCTUDPErrorDomain"; NSString *const RCTUDPErrorDomain = @"RCTUDPErrorDomain";

View File

@ -10,9 +10,9 @@
#import <Availability.h> #import <Availability.h>
#import "GCDAsyncUdpSocket.h" #import "GCDAsyncUdpSocket.h"
#import "UdpSocketClient.h" #import "UdpSocketClient.h"
#import "RCTBridgeModule.h" #import <React/RCTBridgeModule.h>
#import "RCTBridge.h" #import <React/RCTBridge.h>
#import "RCTEventDispatcher.h" #import <React/RCTEventDispatcher.h>
@interface UdpSockets : NSObject<SocketClientDelegate, RCTBridgeModule> @interface UdpSockets : NSObject<SocketClientDelegate, RCTBridgeModule>

View File

@ -6,11 +6,11 @@
// Copyright (c) 2015 Tradle, Inc. All rights reserved. // Copyright (c) 2015 Tradle, Inc. All rights reserved.
// //
#import "RCTAssert.h" #import <React/RCTAssert.h>
#import "RCTBridge.h" #import <React/RCTBridge.h>
#import "RCTConvert.h" #import <React/RCTConvert.h>
#import "RCTEventDispatcher.h" #import <React/RCTEventDispatcher.h>
#import "RCTLog.h" #import <React/RCTLog.h>
#import "UdpSockets.h" #import "UdpSockets.h"
#import "UdpSocketClient.h" #import "UdpSocketClient.h"

File diff suppressed because one or more lines are too long