Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

README

  • Loading branch information...
commit 66a61abdcdc30e8a0998385ec23cef42a013a9a5 1 parent 8e952af
@groue authored
Showing with 8 additions and 3 deletions.
  1. +8 −3 README.md
View
11 README.md
@@ -10,8 +10,8 @@ A list of Mustache implementations in other languages: http://mustache.github.co
Breaking news on Twitter: http://twitter.com/GRMustache
-Three steps to GRMustache
--------------------------
+How To
+------
### 1. Download
@@ -32,8 +32,13 @@ Three steps to GRMustache
NSString *rendering = [GRMustacheTemplate renderObject:[Person personWithName:@"Arthur"]
fromString:@"Hello {{name}}!"
error:NULL];
-```
+// Renders from a resource
+NSString *rendering = [GRMustacheTemplate renderObject:[Person personWithName:@"Arthur"]
+ fromResource:@"Profile" // loads `Profile.mustache`
+ bundle:nil
+ error:NULL];
+```
Why GRMustache?
---------------
Please sign in to comment.
Something went wrong with that request. Please try again.