Contents

setPropertyList(_:forType:)

Sets the value for a specified type as a property list.

Declaration

func setPropertyList(_ propertyList: Any, forType type: NSPasteboard.PasteboardType) -> Bool

Parameters

  • propertyList:

    A property list object containing the value for the representation specified by type.

  • type:

    A uniform type identifier string.

Return Value

true if the value was set successfully, otherwise false.

See Also

Setting values