Returns an NSData object containing the encoded form of the object graph whose root object is given.
Original signature is '+ (NSData *)archivedDataWithRootObject:(id)rootObject'
Available in Mac OS X v10.2 and later.
Declaration Syntax
Parameters
- rootObject (Id)
- The root of the object graph to archive.
Return Value
An NSData object containing the encoded form of the object graph whose root object is rootObject. The format of the archive is NSPropertyListBinaryFormat_v1_0.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)