Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve performance of setItems #14

Open
nevyn opened this issue Sep 19, 2016 · 0 comments
Open

Improve performance of setItems #14

nevyn opened this issue Sep 19, 2016 · 0 comments

Comments

@nevyn
Copy link
Owner

nevyn commented Sep 19, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant