StrikethroughLabel provides an easy way to animates strikethrough effect in a label using bezier path animation.
- April, 2020 - StrikethroughLabel 🥳
pod 'StrikethroughLabel'
You can directly copy and paste the file StrikethroughLabel
to your project.
-
Use
strikeThroughText()
to start a new animation with any duration and line color you want. -
Use
hideStrikeTextLayer
to hides the line. -
Use
showStrikeTextLayer
to present a hidden line again (calls strikeThroughText with duration = 0.0)
For bugs, questions and discussions please use the Github Issues.