diff --git a/docs/embeded-app.html b/docs/embeded-app.html index d9516884b69..ad2d02cd8ac 100644 --- a/docs/embeded-app.html +++ b/docs/embeded-app.html @@ -1,4 +1,4 @@ -React Native | A framework for building native apps using React

Integration with Existing App

Install React Native Using Cocoapods #

Cocoapods 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.

When you are ready to work with Cocoapods, add the following line to Podfile. If you don't have one, then create it under the root directory of your project.

pod 'React' +React Native | A framework for building native apps using React

Integration with Existing App

Install React Native Using CocoaPods #

CocoaPods 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.

When you are ready to work with CocoaPods, add the following line to Podfile. If you don't have one, then create it under the root directory of your project.

pod 'React' pod 'React/RCTText' # Add any subspecs you want to use in your project

Remember to install all subspecs you need. The <Text> element cannot be used without pod 'React/RCTText'.

Then install pods via shell

$ pod install --verbose

The installation process also requires Node.js.

Create Your React Native App #

First, enter React Native's pod root directory and create index.ios.js inside a directory ReactComponent.

$ cd Pods/React $ mkdir ReactComponent