Oolite
Loading...
Searching...
No Matches
NSObject(OldSchoolPropertyListWriting) Category Reference

#include <OldSchoolPropertyListWriting.h>

Instance Methods

(NSData *) - oldSchoolPListFormatWithErrorDescription:
(NSString *) - oldSchoolPListFormatWithIndentation:errorDescription: [implementation]

Detailed Description

Definition at line 33 of file OldSchoolPropertyListWriting.h.

Method Documentation

◆ oldSchoolPListFormatWithErrorDescription:

- (NSData *) oldSchoolPListFormatWithErrorDescription: (NSString**) outErrorDescription

Definition at line 278 of file OldSchoolPropertyListWriting.m.

278 :(NSString**)outErrorDescription
279{
280 NSString* string;
281
282 string = [self oldSchoolPListFormatWithIndentation:0 errorDescription:outErrorDescription];
283 return [[string stringByAppendingString:@"\n"] dataUsingEncoding:NSUTF8StringEncoding];
284}

◆ oldSchoolPListFormatWithIndentation:errorDescription:

- (NSString *) oldSchoolPListFormatWithIndentation: (unsigned) inIndentation
errorDescription: (NSString**) outErrorDescription 
implementation

Definition at line 286 of file OldSchoolPropertyListWriting.m.

286 :(unsigned)inIndentation errorDescription:(NSString**)outErrorDescription
287{
288 if (NULL != outErrorDescription) {
289 *outErrorDescription = [NSString stringWithFormat:@"Class %@ does not support OldSchoolPropertyListWriting", [self className]];
290 }
291 return nil;
292}
return nil

The documentation for this category was generated from the following files: