Reads data of the given type from the specified pasteboard.
- macOS 10.0+
The pasteboard to read from.
The type of data to read.
YES if the data was successfully read,
The new data is placed at the current insertion point, replacing the current selection if one exists.
You should override this method to read pasteboard types other than the default types. Use the
range method to obtain the range of characters (if any) to be replaced by the new data.