lexrus/LTMorphingLabel

Crippled performance, sometimes crashing on longer strings

Open

#18 aberto em 13 de nov. de 2014

Ver no GitHub
 (6 comments) (0 reactions) (0 assignees)Swift (780 forks)batch import
bughelp wanted

Métricas do repositório

Stars
 (8.150 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

I've found that setting strings longer than about 50 characters crawls to a halt. Sometimes crashes. A simple fix would be to just not animate if the length is greater than a certain number. I attempted to do this by modifying the setter for the text variable, pausing the display link and setting super.text to the value if it was above a threshold. This sometimes works, but I think I'm missing something, as I still get issues with performance. Advice appreciated. Would love to use this in the next rev of Slated if I can get it reliable.

Guia do colaborador