Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ericwlange committed Feb 9, 2019
1 parent 02276b9 commit 3aa9972
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion LiquidCoreiOS/README.md
Expand Up @@ -287,7 +287,14 @@ class ViewController: UIViewController {
You now have a basic app that does very little. Go ahead and run it in your simulator.
You should see a white background with a message that says "Hello World!" and a button below it that says "Sprechen Sie Deutsch". This is just a simple Hello World app. We are going to teach it to speak German by using our LiquidCore micro service.

Now it is time to connect LiquidCore. First, you must add the framework. Follow the instructions at the top of the file for this. The first time you run `carthage update`, it will take a long time as it needs to clone the entire repo. But after the first time, it should be quicker. Everything should continue working the same. Once this is done, re-run your app. It should continue working as before.
Now it is time to connect LiquidCore. First, you must add the framework using CocoaPods. Assuming you have already installed CocoaPods,

1. Close your project
2. In the project's root directory, generate a Podfile with `liquidcore pod HelloWorld > Podfile`
3. Install the pod: `pod install`
4. Open the workspace generated by CocoaPods, not your original project

Once this is done, re-run your app. It should continue working as before.

Now, let's connect our button to the micro service. Edit `ViewController.swift` in our app, and replace the first couple of lines with the following:

Expand Down

0 comments on commit 3aa9972

Please sign in to comment.