react-native/Libraries/Text
Brent Vatne c09bdebcd5 Add support for multiline TextInput via UITextView
Summary:
@nicklockwood - Could I get a review of this?

Just took `RCTTextField` and ported it from `UITextField` to `UITextView` as you mentioned in another discussion, and removed any `UITextField` specific attributes.

- How do you think this should behave when there are subviews?
- Do you know how we can respond to the `UIControlEventEditingDidEndOnExit` event to respond to submit? Because `UITextView` isn't a `UIControl` we can't just use `addTarget` with `UIControlEventEditingDidEndOnExit`.
- Any other feedback?

Still going to look over the `UITextView` docs in more detail and make sure we expose all important options, and add it to the UIExplorer example, just putting this out here for feedback.

![multiline](https://cloud.githubusercontent.com/assets/90494/7310854/32174d6a-e9e8-11e4-919e-71e54cf3c739.gif)

Closes https://github.com/facebook/react-native/pull/991
Github Author: Brent Vatne <brent.vatne@madriska.com>

Test Plan: Imported from GitHub, without a `Test Plan:` line.
2015-04-29 01:33:58 -08:00
..
RCTText.xcodeproj Add support for multiline TextInput via UITextView 2015-04-29 01:33:58 -08:00
RCTRawTextManager.h [ReactNative] Expanded license on obj-c files 2015-03-23 13:18:29 -08:00
RCTRawTextManager.m Added non-class-scanning-based approach fror registering js methods 2015-04-08 05:45:20 -08:00
RCTShadowRawText.h [ReactNative] Expanded license on obj-c files 2015-03-23 13:18:29 -08:00
RCTShadowRawText.m [ReactNative] Expanded license on obj-c files 2015-03-23 13:18:29 -08:00
RCTShadowText.h [React Native] #WIP Modify RCTShadowText measure function to honor maxNumberOfLines property 2015-04-07 02:11:01 -08:00
RCTShadowText.m Fixes #813 2015-04-23 04:06:16 -08:00
RCTText.h [React Native] #WIP Modify RCTShadowText measure function to honor maxNumberOfLines property 2015-04-07 02:11:01 -08:00
RCTText.m Fix updating RCTText with new text of the same size 2015-04-23 16:12:35 -08:00
RCTTextManager.h Add support for multiline TextInput via UITextView 2015-04-29 01:33:58 -08:00
RCTTextManager.m Add support for multiline TextInput via UITextView 2015-04-29 01:33:58 -08:00
RCTTextView.h Add support for multiline TextInput via UITextView 2015-04-29 01:33:58 -08:00
RCTTextView.m Add support for multiline TextInput via UITextView 2015-04-29 01:33:58 -08:00
RCTTextViewManager.h Add support for multiline TextInput via UITextView 2015-04-29 01:33:58 -08:00
RCTTextViewManager.m Add support for multiline TextInput via UITextView 2015-04-29 01:33:58 -08:00
Text.js [react-native] Fix capitalization of "REact" 2015-04-27 13:52:57 -08:00
TextStylePropTypes.js [react_native] JS files from D1941151: Allow fontWeight to be 100,200,...,900 2015-03-25 09:21:30 -08:00