Skip to content

Commit

Permalink
Add Carthage installation instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
gonzalezreal committed Mar 6, 2015
1 parent 08d5d0b commit d6de11e
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,28 @@ With Groot you can convert JSON dictionaries and arrays to and from Core Data ma
Groot supports OS X 10.8+ and iOS 6.0+.

## Installation
Add the following to your `Podfile` and run `$ pod install`.
### Cocoapods
Add the following to your `Podfile`:

``` ruby
pod 'Groot'
```

Then run `$ pod install`.

If you don't have CocoaPods installed or integrated into your project, you can learn how to do so [here](http://cocoapods.org).

### Carthage
Add the following to your `Cartfile`:

```
github “gonzalezreal/Groot”
```

Then run `$ carthage update`.

Follow the instructions in [Carthage’s README](https://github.com/Carthage/Carthage#adding-frameworks-to-an-application]) to add the framework to your project.

## Usage
Suppose we would like to convert the JSON returned by a Comic Database web service into our own model objects. The JSON could look something like this:

Expand Down

0 comments on commit d6de11e

Please sign in to comment.