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
Functions
NSConvertGlyphsToPackedGlyphs(_:_:_:_:)raiseBadArgumentException(_:_:_:)NSReleaseAlertPanel(_:)NSDisableScreenUpdates()NSEnableScreenUpdates()NSDrawColorTiledRects(_:_:_:_:_:)NSSetShowsServicesMenuItem(_:_:)NSCopyBits(_:_:_:)NSShowsServicesMenuItem(_:)NSDottedFrameRect(_:)NSReadPixel(_:)NSGetWindowServerMemory(_:_:_:_:)fileContentsType(forPathExtension:)fileNameType(forPathExtension:)representedPathExtensions(from:)