Number:rdar://FB9997896 Date Originated:07/27/2023
Status:Open Resolved:
Product:Appkit Product Version:
Classification: Reproducible:
NSPasteboardItemDataProvider provides a way to set a data provider for a pasteboard item. This data provider can be used to provide the data for a particular pasteboard item upon request. But, when pasteboard:item:provideDataForType is called, there is no way to asynchronously populate data for the requested pasteboard item. In provideDataForType, the data needs to be set synchronously.
e.g. If an image needs to be produced in response to this call, then it would be a bad user experience if the app is blocked on encoding and serialization process of the image.
Also, see https://github.com/w3c/editing/issues/425 for more details.


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!