Creates and returns a new pasteboard with a name that is guaranteed to be unique with respect to other pasteboards in the system.
- macOS 10.0+
The new pasteboard object.
This method is useful for apps that implement their own interprocess communication using pasteboards. Because the lifetime of a unique pasteboard is not related to the lifetime of the creating app, you must release a unique pasteboard by calling
release to avoid possible leaks.