184 :(unsigned)inIndentation errorDescription:(NSString **)outErrorDescription
185{
186 NSMutableString *result;
188 id object;
189
190 result = [NSMutableString string];
191
192 [result appendString:@"("];
193
194 count = [
self count];
196
197 for (i = 0; i !=
count; ++i)
198 {
199 if (0 != i)
200 {
201 [result appendString:@","];
203 }
204
205 object = [self objectAtIndex:i];
206 if (![object conformsToProtocol:@protocol (OldSchoolPropertyListWriting)])
207 {
208 if (
nil !=
object && NULL != outErrorDescription)
209 {
210 *outErrorDescription = [NSString stringWithFormat:@"non-plist object in dictionary"];
211 }
213 }
214
215 object = [object oldSchoolPListFormatWithIndentation:inIndentation + 1 errorDescription:outErrorDescription];
216 if (
nil ==
object)
return nil;
217 [result appendString:object];
218 }
219
221 [result appendString:@")"];
222 return result;
223}
static void AppendNewLineAndIndent(NSMutableString *ioString, unsigned indentDepth)