Skip to content

Commit

Permalink
localization.md typo
Browse files Browse the repository at this point in the history
  • Loading branch information
groue committed Aug 20, 2012
1 parent 453caa9 commit e9db8c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Guides/sample_code/localization.md
Expand Up @@ -165,7 +165,7 @@ This looks like a nice way to build our format arguments and the localizable for


We'll thus now attach to the `localize` section an object that conforms to *both* the `GRMustacheHelper` and `GRMustacheTemplateDelegate` protocols. As in the previous example, we'll perform a "double-pass" rendering: the first rendering will use the delegate side, build the localizable format string, and fill the format arguments. The second rendering will simply mix the format and the arguments. We'll thus now attach to the `localize` section an object that conforms to *both* the `GRMustacheHelper` and `GRMustacheTemplateDelegate` protocols. As in the previous example, we'll perform a "double-pass" rendering: the first rendering will use the delegate side, build the localizable format string, and fill the format arguments. The second rendering will simply mix the format and the arguments.


Now the `[GRMustacheHelper helperWithBlock:]` is not enough. Let's write a full class: Now the convenient `[GRMustacheHelper helperWithBlock:]` method is not enough. Let's go for a full class:


```objc ```objc
@interface LocalizatingHelper : NSObject<GRMustacheHelper, GRMustacheTemplateDelegate> @interface LocalizatingHelper : NSObject<GRMustacheHelper, GRMustacheTemplateDelegate>
Expand Down

0 comments on commit e9db8c1

Please sign in to comment.