Type Property

filePromise

Promised files.

Declaration

static let filePromise: NSPasteboard.PasteboardType

Discussion

In macOS 10.6 and later, use (NSString *)kPasteboardTypeFileURLPromise instead.

For information on promised files, see Dragging Files in Drag and Drop Programming Topics.

See Also

Deprecated

static let postScript: NSPasteboard.PasteboardType

Encapsulated PostScript (EPS) code.

Deprecated
var representedPathExtension: String?

A file type based on the passed pasteboard type.

static func fileNameType(forPathExtension: String) -> NSPasteboard.PasteboardType!

Returns a pasteboard type based on the passed file type.

static func representedPathExtensions(from: [NSPasteboard.PasteboardType]) -> [String]?

Returns an array of file types based on the passed pasteboard types.