CoreDragon icon indicating copy to clipboard operation
CoreDragon copied to clipboard

Improve performance of setItems

Open nevyn opened this issue 8 years ago • 0 comments

I'm setting the metadata for the drag as an additional pasteboard item. This means the data is sent twice to pasteboard, which is a slow and synchronous operation.

By subclassing UIPasteboard and doing the metadata addition in the original setItems call, performance can be doubled.

nevyn avatar Sep 19 '16 23:09 nevyn