-
Notifications
You must be signed in to change notification settings - Fork 24.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Headers] Add an umbrella header for the library #261
Conversation
4bdad02
to
78a49d0
Compare
cc @tadeuzagallo too. |
This has been kind of hacked together as React Native has been refactored, so I think the concept stands but each library should have its own umbrella header, and then maybe have a master umbrella header that imports the core + ubiquitous libraries (text, image support but not geolocation, vibration, etc). |
Sounds good. Everything that is non-optional is exposed in this header, and one more header per subspec. |
The umbrella header allows projects that link React Native using CocoaPods to import it in standard fashion: `#import <React/React.h>`. Currently all of the headers are exported so that external projects can experiment. Generated with: find React -name "*.h" | awk -F'/' '{print "#import <React/"$NF">"}' > React/React.h
Summary: Fixes #261 Closes facebook/yoga#262 Reviewed By: splhack Differential Revision: D4245200 Pulled By: emilsjolander fbshipit-source-id: 77d802d71010ed426511d6a01e6de1e7c9194179
Summary: Fixes facebook#261 Closes facebook/yoga#262 Reviewed By: splhack Differential Revision: D4245200 Pulled By: emilsjolander fbshipit-source-id: 77d802d71010ed426511d6a01e6de1e7c9194179
The umbrella header allows projects that link React Native using CocoaPods to import it in standard fashion:
#import <React/React.h>
. Currently all of the headers are exported so that external projects can experiment.