setString(_:forType:)
Sets the value for a specified type as a string.
Declaration
func setString(_ string: String, forType type: NSPasteboard.PasteboardType) -> BoolParameters
- string:
A string for the representation specified by
type. - type:
A uniform type identifier string.