uilabel string animation in swift 4.0
将子文件夹ffanimation(或uilabel+ffanimation.swift,ffanimation_basic.swift两个文件)拖入工程即可。
let animation = FFStringAppear1by1Animation()
animation.appearDuration = 0.1
label.ff_startAnimation(animation)
参照了ZZStringAnimation,主要是将UILabel中的text拆分为一个个以单字为单位的小UILabel,接下来,基本上任何效果都可以完成了。