ViewAnimator provides access to all animatable properties on a UIView. Use the animator property on any UIView instance to animate its properties within a Wave animation block.
Usage
Access the animator through theanimator property on any UIView:
Layout properties
Properties that control the view’s position and size.The frame of the attached UIView.
The bounds of the attached UIView.
The center of the attached UIView.
The origin of the attached UIView.
Appearance properties
Properties that control the view’s visual appearance.The background color of the attached UIView.
The alpha of the attached UIView.
The corner radius of the attached UIView’s layer. This is a convenience API that forwards to the CALayer’s animator.
Border properties
Properties that control the view’s border appearance. These are convenience APIs that forward to the CALayer’s animator.The border color of the attached UIView’s layer.
The border width of the attached UIView’s layer.
Shadow properties
Properties that control the view’s shadow appearance. These are convenience APIs that forward to the CALayer’s animator.The shadow color of the attached UIView’s layer.
The shadow opacity of the attached UIView’s layer.
The shadow offset of the attached UIView’s layer.
The shadow radius of the attached UIView’s layer.
Transform properties
Properties that control the view’s affine transform.The affine scale transform of the attached UIView’s layer.
The affine translation transform of the attached UIView’s layer.