changeCount
- declareTypes:owner:
Availability
Technology
- (void)pasteboardChangedOwner:(NSPasteboard
*)sender;
sender
The pasteboard object whose owner changed.
Pasteboard owners only need to implement this method if they need to know when they have lost ownership.
The owner is not able to read the contents of the pasteboard when responding to this method. The owner should be prepared to receive this method at any time, even from within the declare
method used to declare ownership.
Once an owner has provided all of its data for declared types, it will not receive a pasteboard
message. If, therefore, you are maintaining an object just for the purpose of providing data lazily, rather than relying solely on receipt of a pasteboard
message you need to keep track of what types were promised and what types have been provided. When all the types have been provided, you may release the owner.
changeCount
- declareTypes:owner: