write(to:)
Writes the color object’s data to the specified pasteboard.
Declaration
func write(to pasteBoard: NSPasteboard)Parameters
- pasteBoard:
The pasteboard to which to write the receiver’s color data. If this pasteboard doesn’t support color data, the method does nothing.