Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 667 Bytes

File metadata and controls

22 lines (16 loc) · 667 Bytes

SMRippleView

Simple Ripple View to add ripple effect to the view.

ScreenShot

Gif

Screenshot 1

Screenshot 2

Code Snippet

let fillColor = UIColor(red: 33/255, green: 150/255, blue: 243/255, alpha: 1)
let rippleView = SMRippleView(frame: baseView.frame, rippleColor: UIColor.clearColor(), rippleThickness: 0.2, rippleTimer: 1, fillColor: fillColor, animationDuration: 3, parentFrame: self.view.frame)
self.view.addSubview(rippleView)

Wrote a blog