Type Method

fileNameType(forPathExtension:)

Returns a pasteboard type based on the passed file type.

Declaration

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

Discussion

Returns an NSString to a pasteboard type representing a filename based on the supplied string fileType.

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 representedPathExtensions(from: [NSPasteboard.PasteboardType]) -> [String]?

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