Instance Property

representedPathExtension

A file type based on the passed pasteboard type.

Declaration

var representedPathExtension: String? { get }

Discussion

This function is the inverse of both fileContentsType(forPathExtension:) and fileNameType(forPathExtension:). When passed a pasteboard type as returned by those functions, it returns the extension or filename from which the type was derived. It returns nil if pboardType isn’t a pasteboard type created by those functions.

See Also

Deprecated