Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (18 sloc) 518 Bytes
//
// NSArray+Tipi.m
// Tipi
//
// Created by Chris Ross on 07/04/2012.
// Copyright (c) 2012 hiddenMemory Ltd. All rights reserved.
//
#import "NSArray+Tipi.h"
#import "Tipi.h"
@implementation NSArray (Tipi)
- (NSString*)tp_templateNodesExpandedUsingEnvironment:(NSMutableDictionary*)environment {
NSMutableString *expansion = [NSMutableString string];
for( TPTemplateNode *childNode in self ) {
[expansion appendString:[childNode expansionUsingEnvironment:environment]];
}
return expansion;
}
@end
Something went wrong with that request. Please try again.