views:

15

answers:

0

Hi,

I am writing an application which enables the user to share the pasteboard of his local machine with that of a remote Mac to which the user connects to. The application I am writing runs on the remote Mac. It all works fine, but sometimes the pasteboard data can get large and take quite some time to travel over the network.

This application does more things other than sharing the pasteboard and, up to now, when the pasteboard data is requested, the application blocks until it is receives all the data from the other end and pastes it on the pasteboard. Is there a way for me to return from the provideDataForType method, before I have written the data on the pasteboard ?

Regards
ajcaruana