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

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software