Skip to content

UIView-Ripple is an animation which like water ripple expand.

License

Notifications You must be signed in to change notification settings

janlionly/UIView-Ripple

Repository files navigation

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.

About

UIView-Ripple is an animation which like water ripple expand.

Resources

License

Stars

Watchers

Forks

Packages

No packages published