NSPropertyListSerialization

NSPropertyListSerialization Mac OS X 10.2

This class provides functionality to convert organizations of property list objects (NSArray, NSDictionary, NSData, NSString, and NSNumber) to and from XML or binary data formats.

figs/cocn_1381.gif

@interface NSPropertyListSerialization : NSObject
 // Class Methods
   + (NSData *)dataFromPropertyList:(id)plist format:(NSPropertyListFormat)format
        errorDescription:(NSString **)errorString;
   + (BOOL)propertyList:(id)plist isValidForFormat:(NSPropertyListFormat)format;
   + (id)propertyListFromData:(NSData *)data mutabilityOption:(NSPropertyListMutabilityOptions)opt
        format:(NSPropertyListFormat *)format errorDescription:(NSString **)errorString;



    Part II: API Quick Reference
    Chapter 13. Foundation Classes