From cfba63edd41888befc4f0a015b128d8957e0571c Mon Sep 17 00:00:00 2001 From: Andrew Sardone Date: Tue, 31 Mar 2015 16:19:45 -0400 Subject: [PATCH] Add intro explaining embedding React in existing app --- docs/EmbeddedApp.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/docs/EmbeddedApp.md b/docs/EmbeddedApp.md index 4b9ed76d78..f7e1d05544 100644 --- a/docs/EmbeddedApp.md +++ b/docs/EmbeddedApp.md @@ -7,7 +7,14 @@ permalink: docs/embeded-app.html next: activityindicatorios --- -## Install React Native Using CocoaPods +Since React makes no assumptions about the rest of your technology stack – it’s commonly noted as simply the `V` in `MVC` – it’s easily embeddable within an existing non-React Native app. In fact, it integrates with other best practice community tools like [Cocoapods](http://cocoapods.org/). + +## Requirements + +- [Cocoapods](http://cocoapods.org/) – `gem install cocoapods` +- [Node.js](http://nodejs.org) – `brew install node` + +## Install React Native Using Cocoapods [CocoaPods](http://cocoapods.org/) is a package management tool for iOS/Mac development. We need to use it to download React Native. If you haven't install CocoaPods yet, checkout [this tutorial](http://guides.cocoapods.org/using/getting-started.html). @@ -27,8 +34,6 @@ Then install pods via shell $ pod install --verbose ``` -The installation process also requires [Node.js](http://nodejs.org). - ## Create Your React Native App First, enter React Native's pod root directory and create **index.ios.js** inside a directory `ReactComponent`.