Type Property

fileContents

A representation of a file’s contents.

Declaration

static let fileContents: NSPasteboard.PasteboardType

Discussion

The file contents pboard type allowed you to synthesize a pboard type for a file's contents based on the file's extension.

In macOS 10.6 and later, you should use the UTI of a file to represent its contents instead.