The receiver’s change count.
- macOS 10.0+
The change count starts at zero when a client creates the receiver and becomes the first owner. The change count subsequently increments each time the pasteboard ownership changes.
The change count is also returned from
declare. You can therefore record the value of
change at the time that you take ownership of the pasteboard and compare it with a later value to determine whether you still have ownership.