react-native/Libraries/Text
rh389 6e216d2034 Include CSSLayout.h consistently with other project includes
Summary:
Include CSSLayout headers in the same way as other project headers, ie `#import <CSSLayout/CSSLayout.h>` becomes `#import "CSSLayout.h"`. CSSLayout is not a framework or system dependency, so shouldn't (AFAIK) be included with angle brackets. Doing so breaks framework builds, such as when RN is used as a pod in a swift project.

In combination with https://github.com/facebook/css-layout/pull/217 this fixes https://github.com/facebook/react-native/issues/9014 (specifically swift cocoapods projects). There is then no need for a separate CSSLayout pod subspec.

Tests run on the RN project in isolation (with changes inside `CSSLayout` itself also applied) and against a dummy swift project with RN included as a pod.

NB: This effectively reverts https://github.com/facebook/react-native/pull/9015 and may break non-swift cocoapods projects unless https://github.com/facebook/css-layout/pull/217 is merged and synced first.

Update: As discussed with alloy and emilsjolander, wrap these imports in a preprocess
Closes https://github.com/facebook/react-native/pull/9544

Differential Revision: D3821791

Pulled By: javache

fbshipit-source-id: d27ac8be9ce560d03479b43d3db740cd196c24da
2016-09-06 09:13:39 -07:00
..
RCTText.xcodeproj Update React Native minimum OS version to iOS8 2016-09-01 19:43:47 -07:00
__mocks__ Update to 14.0 2016-07-27 22:13:26 -07:00
RCTRawTextManager.h [ReactNative] Expanded license on obj-c files 2015-03-23 13:18:29 -08:00
RCTRawTextManager.m Convert alloc/init to new to please linter 2015-08-17 08:46:00 -07:00
RCTShadowRawText.h [ReactNative] Expanded license on obj-c files 2015-03-23 13:18:29 -08:00
RCTShadowRawText.m Move dirty layout into css-layout 2016-07-25 03:58:41 -07:00
RCTShadowText.h Initial implementation of adjustsFontSizeToFit. 2016-08-10 11:28:37 -07:00
RCTShadowText.m Centre text in case where the distance between baselines is larger th… 2016-08-11 16:58:33 -07:00
RCTText.h Initial implementation of adjustsFontSizeToFit. 2016-08-10 11:28:37 -07:00
RCTText.m Initial implementation of adjustsFontSizeToFit. 2016-08-10 11:28:37 -07:00
RCTTextField.h Open sourced the onSelectionChange event 2015-11-14 09:44:30 -08:00
RCTTextField.m Add TextInput controlled selection prop on iOS 2016-08-25 17:28:37 -07:00
RCTTextFieldManager.h Migrated RCTText into FBReactKit 2015-07-08 07:13:00 -08:00
RCTTextFieldManager.m Add TextInput controlled selection prop on iOS 2016-08-25 17:28:37 -07:00
RCTTextManager.h Add support for multiline TextInput via UITextView 2015-04-29 01:33:58 -08:00
RCTTextManager.m Include CSSLayout.h consistently with other project includes 2016-09-06 09:13:39 -07:00
RCTTextSelection.h Add TextInput controlled selection prop on iOS 2016-08-25 17:28:37 -07:00
RCTTextSelection.m Add TextInput controlled selection prop on iOS 2016-08-25 17:28:37 -07:00
RCTTextView.h Implement TextInput onContentSizeChange 2016-07-07 09:00:01 -07:00
RCTTextView.m Add TextInput controlled selection prop on iOS 2016-08-25 17:28:37 -07:00
RCTTextViewManager.h Add support for multiline TextInput via UITextView 2015-04-29 01:33:58 -08:00
RCTTextViewManager.m Add TextInput controlled selection prop on iOS 2016-08-25 17:28:37 -07:00
Text.js Use mergeFast in a hotspot 2016-08-31 17:28:35 -07:00
TextStylePropTypes.js Mark Text style fontVariant as iOS only 2016-08-25 16:13:53 -07:00
TextUpdateTest.js Fix up this pattern var React = require('react-native'); 2016-04-08 20:37:22 -07:00