14317 Commits

Author SHA1 Message Date
Christopher Chedeau
99b2a10afc Merge pull request #552 from andrewsardone/aps-embedded-app
Improve EmbeddedApp.md docs wrt location of ReactComponent (also minor formatting)
2015-03-31 14:45:45 -07:00
Andrew Sardone
2536716727 Fix some pissing a’s and the’s 2015-03-31 17:41:59 -04:00
Andrew Sardone
539ff6476a Fix some ‘CocoaPods’ capitalization 2015-03-31 17:40:59 -04:00
Amjad Masad
23e992a0a5 [react-packager] check-in bluebird 2015-03-31 13:35:18 -08:00
Andrew Sardone
1c3dd29c92 Tweak some concluding EmbeddedApp language 2015-03-31 17:34:09 -04:00
Andrew Sardone
3a6e4305ca Add instructions for pre-bundled JS in EmbeddedApp 2015-03-31 17:34:09 -04:00
Andrew Sardone
2ec88bdd8b Tweak copy around adding an outlet for ReactView 2015-03-31 17:34:09 -04:00
Andrew Sardone
5dac2cb093 Add concluding statement about React behind a UIView 2015-03-31 17:34:08 -04:00
Andrew Sardone
67a2790521 Tweak formatting to note class names in code blocks
I think this helps identify classes and code files as opposed to
emphasized prose.
2015-03-31 17:34:08 -04:00
Andrew Sardone
47f3a77227 Tweak some formatting of example index.ios.js 2015-03-31 17:34:08 -04:00
Andrew Sardone
f3ddef0ff3 Move ReactComponent out of Pods directory in EmbeddableApp
It doesn’t seem like a good practice to tell people to create their custom
ReactComponent directory inside of the Pods/ directory. The Pods/ directory
should be limited to CocoaPods installed content, and it’s not even
accepted across the board to [check this stuff into git][1]

Therefore, let’s tune the EmbeddableApp tutorial to instruct users to
create a ReactComponent directory at the root of their project. From there,
we’ll start the development server packager to source that directory as
a JS files root. This change also improves starting this packager server,
proxying the command through npm.

[1]: 5883804e6c/Objective-C.gitignore (L20-L26)
2015-03-31 17:34:08 -04:00
Andrew Sardone
48bcbecf8c Set demo script to 'use strict' for EmbeddedApp 2015-03-31 17:34:08 -04:00
Andrew Sardone
af8edb8e40 Add overview to ‘Create Your React Native App’ section
Hopefully this helps people how simple the process is!
2015-03-31 17:34:08 -04:00
Andrew Sardone
c07953a37e Remove --verbose flag from pod install
It might be too chatty for people just starting out, but I can see why
people might want it.
2015-03-31 17:34:08 -04:00
Andrew Sardone
cfba63edd4 Add intro explaining embedding React in existing app 2015-03-31 17:34:08 -04:00
Amjad Masad
c9d4dd3695 [react-native] v0.3.1 2015-03-31 13:28:44 -08:00
Ben Alpert
b82de1e0d4 Merge pull request #551 from jungchris/patch-1
Minor update README.md - 'Extensibility' Section for iOS code (callback)
2015-03-31 14:05:40 -07:00
Christopher Chedeau
427d902e48 Support .ios.js examples 2015-03-31 14:05:27 -07:00
Chris Jungmann
3ad16b96f1 Update README.md
Removed an extra bracket and line end "];" in the callback of the processString method.
2015-03-31 14:43:08 -06:00
Tadeu Zagallo
1e2d57122e Merge pull request #550 from orta/patch-1
Use correct capitalisation in CocoaPods
2015-03-31 21:20:03 +01:00
Orta
f18493400c Use correct capitalisation in CocoaPods 2015-03-31 16:14:45 -04:00
James Ide
f506d95cda [Pod] Preserve header directory structure
Summary:
The React code has relative imports like `#import "../React/Base/Layout.h"`. CocoaPods by default flattens the header files so they're all in a single directory, but specifying `header_mappings_dir` in the podspec preserves the directory structure.
Closes https://github.com/facebook/react-native/pull/508
Github Author: James Ide <ide@jameside.com>

Test Plan: Imported from GitHub, without a `Test Plan:` line.
2015-03-31 12:01:32 -08:00
James Ide
fc8f2570f6 [Touchable] Change default activeOpacity to 0.2 to match iOS 2015-03-31 12:52:15 -07:00
Christopher Chedeau
115b2a3fde fix ../ 2015-03-31 12:31:37 -07:00
Christopher Chedeau
a4a551c571 Add examples at the end of the doc pages 2015-03-31 12:28:53 -07:00
Ben Alpert
d75bd44e27 [react-native] Bring React.render behavior in line with web 2015-03-31 10:52:42 -08:00
Colin Ramsay
4b4e8ecc9b Expose html prop on WebView
Summary:
Allows setting of HTML directly on webview to support #506. This is a starting point, and feedback/improvement is requested.

1. if `startInLoadingState` is true, the HTML content will never show since the load event never fires

2. Neither html nor url are set as required props any more
Closes https://github.com/facebook/react-native/pull/542
Github Author: Colin Ramsay <colinramsay@gmail.com>

Test Plan: Imported from GitHub, without a `Test Plan:` line.
2015-03-31 10:09:04 -08:00
Cspeisman
50dc709f01 missing '.' in ListView.DataSource example
Summary:
The `ListView.DataSource` example is missing a period. Previously looked like a method i.e.` ListViewDataSource`
Closes https://github.com/facebook/react-native/pull/520
Github Author: Cspeisman <Cspeisman@gmail.com>

Test Plan: Imported from GitHub, without a `Test Plan:` line.
2015-03-31 10:06:09 -08:00
Spencer Ahrens
c8c4b41827 Merge pull request #242 from salutis/master
[website] Improve typography
2015-03-31 10:13:13 -07:00
Christopher Chedeau
536b4669a3 Add Edit on Github link on pages. cc @DMortens 2015-03-31 10:10:05 -07:00
Christopher Chedeau
ed7b5cb187 Fix docs 2015-03-31 09:46:45 -07:00
Christopher Chedeau
af9f0972b6 Merge pull request #546 from tjwudi/patch-2
Add guide for using React Native in existing iOS App
2015-03-31 08:26:48 -07:00
John Wu
35bea5fddc Local image resources for docs 2015-03-31 23:24:37 +08:00
Christopher Chedeau
75f6d2b8f9 Merge pull request #525 from vjeux/updates15
Updates from Mon 30 Mar
2015-03-31 08:22:00 -07:00
John Wu
4040295750 typo fixed 2015-03-31 23:20:26 +08:00
John Wu
b873fd6e31 Update EmbededApp.md
Use ``` instead of indentation for code blocks
2015-03-31 23:01:14 +08:00
John Wu
9c8fdafecc Update next doc path 2015-03-31 22:51:34 +08:00
John Wu
fcc4d1a23b Guide for use React Native in existing iOS app
See #483
2015-03-31 22:49:52 +08:00
Ben Alpert
19969149ad [react-native] Support returning null from a component 2015-03-31 01:33:44 -08:00
Ben Alpert
42689c44fd [react-native] Fix race condition in removeSubviewsFromContainerWithID: 2015-03-31 01:05:52 -08:00
Bret Rouse
16996240bf language fixes 2015-03-31 00:22:39 -04:00
Christopher Chedeau
9a4ee17adb Updates from Mon 30 Mar
- [ReactNative] Clean up no longer needed reference to NavigationBarClass | Philipp von Weitershausen
- [TextInput] returnKeyType, enablesReturnKeyAutomatically, secureTextEntry, more keyboardTypes | Tadeu Zagallo
- [ReactNative] PropTypes for NavigationBars | Philipp von Weitershausen
- Changed LayoutAnimation to use ms instead of seconds for consistency | Nick Lockwood
- Better date support | Nick Lockwood
- Renamed throttleScrollCallbackMS to scrollEventThrottle | Nick Lockwood
- Fixed threading issues in RCTImageDownloader | Nick Lockwood
- [iOS][Assets]: Cleaning up more 1x png from Libraries | Radu Marin
- [ReactNative][docs] LinkingIOS | Tadeu Zagallo
- Fixing TouchableOpacity and TouchableHighlight documentation | Ben Alpert
- [react-native] Add React.addons.createFragment | Ben Alpert
2015-03-30 20:12:32 -07:00
Philipp von Weitershausen
db693f32a9 [ReactNative] Clean up no longer needed reference to NavigationBarClass 2015-03-30 18:33:06 -08:00
James Ide
ac0ad3acdd [TextInput] returnKeyType, enablesReturnKeyAutomatically, secureTextEntry, more keyboardTypes
Summary:
This diff completes adding support for the following UITextField properties:

- returnKeyType: what the return key on the keyboard says
- enablesReturnKeyAutomatically: the return key is disabled iff there is no text entered. This too could be implemented in React but it feels better in UIKit right now because it is handled synchronously.
- secureTextEntry: obscure passwords
- keyboardType: added all the keyboard types, they are useful in different scenarios

There were varying degrees of support for these properties so it looks like this diff continues some unfinished work. I also updated the keyboardType enum to use native constants instead of strings like the other properties here.

Added examples to the UIExplorer.
Closes https://github.com/facebook/react-native/pull/265
Github Author: James Ide <ide@jameside.com>

Test Plan: Imported from GitHub, without a `Test Plan:` line.
2015-03-30 18:13:30 -08:00
daviskoh
ed370eeaad fix objc syntax error 2015-03-30 18:43:11 -04:00
Philipp von Weitershausen
a9167a29b7 [ReactNative] PropTypes for NavigationBars 2015-03-30 14:36:25 -08:00
Alexander Kotliarskyi
02298b59e2 Merge pull request #493 from tjwudi/patch-1
Add import RCTBridge.h for event sending example
2015-03-30 14:48:58 -07:00
Alexander Kotliarskyi
86a1e7062a Merge pull request #513 from supermarin/patch-1
Fix Objective-C example in README
2015-03-30 14:46:56 -07:00
Marin Usalj
015136f36e Fix Objective-C example in README 2015-03-30 14:45:49 -07:00
John Wu
78f0c7178f Change links to doc instead of js
Change links to doc instead of js
2015-03-31 05:32:08 +08:00