Name

NSSerializer — Mac OS X 10.0

Synopsis

This class converts a collection of property-list objects (NSDictionary, NSArray, NSString, and NSData) in memory into a form that can be saved to a file, for example. This class has been deprecated, and clients should instead use the class NSPropertyListSerialization.

image with no caption

@interface NSSerializer : NSObject
                                  // Class Methods
   + (NSData *)serializePropertyList:(id)aPropertyList;
   + (void)serializePropertyList:(id)aPropertyList 
                                 intoData:(NSMutableData *)mdata;

Get Cocoa in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.