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

Performance anti-pattern in UI #42

Closed
saraseif opened this issue May 31, 2018 · 1 comment
Closed

Performance anti-pattern in UI #42

saraseif opened this issue May 31, 2018 · 1 comment

Comments

@saraseif
Copy link

saraseif commented May 31, 2018

Hello guys!

I found that in TSChatTimeCell and TSChatSystemCell, there are LabelViews with their background colors set to transparent (alpha between 0 and 1). I think it would be better not to use transparent or partially transparent views in repeating styles, like TableViewCells and inside for loops.

Due to my own experience and this Apple document, using transparency could be tricky, performance-wise.

Do you think it makes sense the code is refactored to improve performance?

@hilen
Copy link
Owner

hilen commented Jul 26, 2018

Yeah, absolutely yes. I didn't do anything about the performance of this project so far. So we can improve the performance off this project that you refer to.

I will do it later. XD

@hilen hilen closed this as completed Jul 26, 2018
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

2 participants