From 4bdad024c02c0a992e90ff188e127b6448021981 Mon Sep 17 00:00:00 2001 From: James Ide Date: Tue, 17 Feb 2015 00:34:01 -0800 Subject: [PATCH] [Headers] Add an umbrella header for the library The umbrella header allows projects that link React Native using CocoaPods to import it in standard fashion: `#import `. Currently all of the headers are exported so that external projects can experiment. Generated with: find React -name "*.h" | awk -F'/' '{print "#import "}' > React/React.h --- React/React.h | 72 +++++++++++++++++++++++++++ React/React.xcodeproj/project.pbxproj | 2 + 2 files changed, 74 insertions(+) create mode 100644 React/React.h diff --git a/React/React.h b/React/React.h new file mode 100644 index 00000000000000..a09bd8fb0db1da --- /dev/null +++ b/React/React.h @@ -0,0 +1,72 @@ +/** + * Copyright (c) 2015-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + */ + +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import diff --git a/React/React.xcodeproj/project.pbxproj b/React/React.xcodeproj/project.pbxproj index ba6ec3aaba120c..2cf23f4f70e546 100644 --- a/React/React.xcodeproj/project.pbxproj +++ b/React/React.xcodeproj/project.pbxproj @@ -164,6 +164,7 @@ 58114A4F1AAE93D500E7D092 /* RCTAsyncLocalStorage.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RCTAsyncLocalStorage.h; sourceTree = ""; }; 58C571BF1AA56C1900CDF9C8 /* RCTDatePickerManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RCTDatePickerManager.m; sourceTree = ""; }; 58C571C01AA56C1900CDF9C8 /* RCTDatePickerManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RCTDatePickerManager.h; sourceTree = ""; }; + 78BEE2481ABABC2E00F44561 /* React.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = React.h; sourceTree = ""; }; 830213F31A654E0800B993E6 /* RCTBridgeModule.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RCTBridgeModule.h; sourceTree = ""; }; 830A229C1A66C68A008503DA /* RCTRootView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RCTRootView.h; sourceTree = ""; }; 830A229D1A66C68A008503DA /* RCTRootView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RCTRootView.m; sourceTree = ""; }; @@ -334,6 +335,7 @@ 83CBBA2F1A601D0F00E9B192 /* React */ = { isa = PBXGroup; children = ( + 78BEE2481ABABC2E00F44561 /* React.h */, 83CBBA491A601E3B00E9B192 /* Base */, 134FCB381A6E7F0800051CC8 /* Executors */, 13B07FC41A68125100A75B9A /* Layout */,