zoonooz/ZFRippleButton
zoonooz/ZFRippleButton has 1,397 GitHub stars and 108 forks. GitHot measured -1 in 7 days. Last checked 2026-11-10 04:38 UTC. Last push 2019-04-03.
Custom UIButton effect inspired by Google Material Design
实测星标增长
- 24小时
- 更新延迟
- 7天
- -1
- 15天
- 更新延迟
- 1个月
- 更新延迟
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文ZFRippleButton
iOS Custom UIButton effect inspired by Google Material Design written in Swift

Usage
Set the UIButton class in Nib to ZFRippleButton or create it programmatically.
Options
rippleOverBounds indicate that ripple should draw outsise the bounds or not

trackTouchLocation indicate that ripple should show from the touch location or not

shadowRippleEnable indicate that it will show additional shadow when you click or not

touchUpAnimationTime is time interval of touch up animation
and you can set the color of ripple using rippleColor and rippleBackgroundColor
Requirements
- iOS >= 8.0
Author
Amornchai Kanokpullwad, [email protected]
License
ZFRippleButton is available under the MIT license. See the LICENSE file for more info.