Instance Property


The contents of the file wrapper as an opaque data object.


@property(readonly, copy) NSData *serializedRepresentation;


This property contains a data object in the format used by the NSFileContentsPboardType pasteboard type. This data object is also suitable for passing to initWithSerializedRepresentation:.

This property may be nil if the user modifies the contents of the file system node after you call readFromURL:options:error: or initWithURL:options:error:, but before NSFileWrapper has read the contents of the file. You can use the NSFileWrapperReadingImmediate reading option to reduce the likelihood of this problem.

See Also