lexrus/LTMorphingLabel

Crippled performance, sometimes crashing on longer strings

Open

#18 建立於 2014年11月13日

在 GitHub 查看
 (6 留言) (0 反應) (0 負責人)Swift (780 fork)batch import
bughelp wanted

倉庫指標

Star
 (8,150 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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.

貢獻者指南