nevyn/CoreDragon

Improve performance of setItems

nevyn opened this issue · 0 comments

nevyn commented

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.