Type Method


Returns a pasteboard type based on the passed file type.


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


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

See Also

Matching Pasteboard Types to Filename Extensions

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

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