UIView
public extension UIView
-
Use the
animator
property to set any animatable properties on aUIView
in anWave.animateWith(...)
animation block.Example usage:
Wave.animateWith(spring: spring) { myView.animator.center = CGPoint(x: 100, y: 100) myView.animator.alpha = 0.5 }
See
ViewAnimator
for a list of supported animatable properties onUIView
.Declaration
Swift
var animator: ViewAnimator { get set }