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

Drawing off main thread #76

Open
klische opened this issue May 14, 2019 · 0 comments
Open

Drawing off main thread #76

klische opened this issue May 14, 2019 · 0 comments

Comments

@klische
Copy link

klische commented May 14, 2019

Do you have any best practices/guide for using the API in a way that doesn't block the main thread?

let roundImage = Toucan(image: image).maskWithEllipse(borderWidth: 3.0, borderColor: UIColor.white).image

Especially when used in a TableView with lots of rounded images causes quite a bit of main thread activity.

toucan

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