Instance Property

fileWrapper

The receiver’s file wrapper.

Declaration

iOS, Mac Catalyst, tvOS
@property(strong, nonatomic) NSFileWrapper *fileWrapper;
macOS
@property(strong) NSFileWrapper *fileWrapper;

Discussion

The file wrapper holds the contents of the attached file. In iOS, modifying this property has a side effect of invalidating the image, contents, and fileType properties.

See Also

Defining the Contents

bounds

Defines the layout bounds of the receiver's graphical representation in the text coordinate system.

contents

Defines the contents for the text attachment.

fileType

Defines the file type of the contents for the text attachment.

image

Image representing the text attachment contents.