UIView-Ripple 1.0.4

UIView-Ripple 1.0.4

Maintained by janlionly.



UIView-Ripple

Version License Platform Swift

UIView-Ripple demo image

Description

UIView-Ripple is an animation which like water ripple expand, it extension UIView, just one line code (addRippleAnimation) for animating ripple effect.

Installation

CocoaPods

pod 'UIView-Ripple'

Usage

let testView = UIView(frame: CGRect(x: 100, y: 100, width: 80, height: 80)
testView.layer.cornerRadius = view.frame.size.width/2.0
testView.addRippleAnimation(color: .systemPink, duration: 1.5, repeatCount:1, rippleCount: 3, rippleDistance: nil)

Requirements

  • iOS 9.0+
  • Swift 4.2 to 5.1

Author

Visit my github: janlionly
Contact with me by email: [email protected]

Contribute

I would love you to contribute to UIView-Ripple

License

UIView-Ripple is available under the MIT license. See the LICENSE file for more info.