Several OSX clipboard managers from the AppStore show the ability to determine the source application of the content that was copied to the clipboard.
I am writing some simple clipboard watcher and would like to show the icon of the source application next to the content stored in general in NSPasteboard. And I would like to know how this can be achieved.
As I understand it, NSPasteboard does not provide any additional information other than the data and data types themselves.
Perhaps there are any events or notifications to know that the copy command was called? Or some other ways?
Ujey source share