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