Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 24 lines (18 sloc) 0.518 kb
3207d785 »
2012-04-07 Rename some of the files to be Tipi, rather than hM.
1 //
2 // NSArray+Tipi.m
3 // Tipi
4 //
5 // Created by Chris Ross on 07/04/2012.
6 // Copyright (c) 2012 hiddenMemory Ltd. All rights reserved.
7 //
8
9 #import "NSArray+Tipi.h"
10 #import "Tipi.h"
11
12 @implementation NSArray (Tipi)
13
14 - (NSString*)tp_templateNodesExpandedUsingEnvironment:(NSMutableDictionary*)environment {
15 NSMutableString *expansion = [NSMutableString string];
16
17 for( TPTemplateNode *childNode in self ) {
18 [expansion appendString:[childNode expansionUsingEnvironment:environment]];
19 }
20
21 return expansion;
22 }
23
24 @end
Something went wrong with that request. Please try again.