data(forType:)
Returns the value for the specified type as a data object.
Declaration
func data(forType type: NSPasteboard.PasteboardType) -> Data?Parameters
- type:
A uniform type identifier string.
Return Value
The value for the specified type as an NSData object.