Contents

string(forType:)

Returns the value for the specified type as a string.

Declaration

func string(forType type: NSPasteboard.PasteboardType) -> String?

Parameters

  • type:

    A uniform type identifier string.

Return Value

The value for the specified type as a string.

See Also

Getting values