O'Reilly logo

Cocoa in a Nutshell by James Duncan Davidson, Michael Beam

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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;

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required