ViewAnimator:用代码轻松实现UIView动画

ViewAnimator提供UIView扩展,可轻松添加自定义动画。方法有两种:

1. 视图通过.animate(animations: [Animation]) 自我动画。

2. 通过.animate(in: .context, animations: [Animation]) 在特定上下文中动画。

zip 文件大小:9.46MB