I\'ve read Apple\'s Pasteboard Programming Guide, but it doesn\'t answer a particular question I have.
I\'m trying to write a Cocoa application (for OS X, not iOS) t
I have a solution for more strict case: detecting when your content in NSPasteboard was replaced by something else.
If you create a class that conforms to NSPasteboardWriting and pass it to -writeObjects: along with the actual content, NSPasteboard will retain this object until its content is replaced. If there are no other strong references to this object, it get deallocated.
Deallocation of this object is the moment when new NSPasteboard got new content.