Writes the current selection to the specified pasteboard using the given type.
- macOS 10.0+
The pasteboard to write to.
The type of data to write.
true if the data was successfully written,
The complete set of data types being written to
pboard should be declared before invoking this method.
This method should be invoked only from
write. You can override this method to add support for writing new types of data to the pasteboard. You should invoke
super’s implementation of the method to handle any types of data your overridden version does not.