lexrus / LTMorphingLabel

[EXPERIMENTAL] Graceful morphing effects for UILabel written in Swift.
MIT License
8.07k stars 782 forks source link

Doesn't work for attributed strings #11

Closed lazerwalker closed 9 years ago

lazerwalker commented 10 years ago

Trying to set an LTMorphingLabel's attributedText property currently causes an exception.

You probably have a better sense than I do about how hard adding support for attributed strings would be. I'm happy to dive in and help if it seems like it's low-hanging fruit. Thoughts?

Thanks!

lexrus commented 10 years ago

Hi, @lazerwalker It's hard to animate some properties of attributedText. Calculating the keyframes would be pages of code. There is another project named TOMSMorphingLabel which animates attributedText. And yes, the animation looks weird and it's hard to add new effects.

Anyway, I guess we should void attributedText property temporarily.