cl7 / CLTypingLabel

iOS UILabel with character by character typing /typewriter animation
https://cocoapods.org/pods/CLTypingLabel
MIT License
330 stars 54 forks source link

Update label without animation? #16

Closed sambing closed 5 years ago

sambing commented 6 years ago

Example: You animate the label with the initial text, after that you need to append some text to the label, but this time you don't want the animation to start all over. Is there anyway to ignore the animation and just append the text as on a regular label. Ideally it would be very helpful for the text to start animating right from the point where the animation ended but i'm assuming that would be more work.

cl7 commented 5 years ago

We will just need to create a wrapper around text and move all the logic up there, so that setting the text won't trigger the animation to start over. Feel free to open a pull request.