Skip to content

Commit

Permalink
CocoaPods support
Browse files Browse the repository at this point in the history
  • Loading branch information
groue committed May 8, 2012
1 parent e4ea529 commit 559f600
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions README.md
Expand Up @@ -13,16 +13,19 @@ Breaking news on Twitter: http://twitter.com/GRMustache
How To How To
------ ------


### 1. Download ### 1. Download and add to your Xcode project


$ git clone https://github.com/groue/GRMustache.git $ git clone https://github.com/groue/GRMustache.git


### 2. Add to your Xcode project

- For MacOS 10.6+ development, add `include/GRMustache.h` and `lib/libGRMustache3-MacOS.a` to your project. - For MacOS 10.6+ development, add `include/GRMustache.h` and `lib/libGRMustache3-MacOS.a` to your project.
- For iOS3+ development, add `include/GRMustache.h` and `lib/libGRMustache3-iOS.a` to your project. - For iOS3+ development, add `include/GRMustache.h` and `lib/libGRMustache3-iOS.a` to your project.


### 3. Import "GRMustache.h" and start rendering templates Alternatively, you may use [CocoaPods](https://github.com/CocoaPods/CocoaPods). Append to your Podfile:

dependency 'GRMustache', '~> 3'


### 2. Import "GRMustache.h" and start rendering templates


```objc ```objc
#import "GRMustache.h" #import "GRMustache.h"
Expand All @@ -39,6 +42,7 @@ NSString *rendering = [GRMustacheTemplate renderObject:[Person personWithName:@"
error:NULL]; error:NULL];
``` ```
Documentation Documentation
------------- -------------
Expand Down

0 comments on commit 559f600

Please sign in to comment.