Permalink
Browse files

README

  • Loading branch information...
1 parent 8e952af commit 66a61abdcdc30e8a0998385ec23cef42a013a9a5 @groue committed Mar 9, 2012
Showing with 8 additions and 3 deletions.
  1. +8 −3 README.md
View
@@ -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?
---------------

0 comments on commit 66a61ab

Please sign in to comment.