Skip to content
Custom UIButton effect inspired by Google Material Design
Swift Ruby
Branch: master
Clone or download
Latest commit 07c2c29 Oct 21, 2016
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Classes
Demo/ZFRippleButtonDemo fix #23 Oct 16, 2016
Screenshot update readme and demo launch screen Oct 11, 2015
.gitignore Added class and demo Jun 28, 2014
CHANGELOG.md Release 0.6 Oct 21, 2016
LICENSE Update to Swift 2.0 syntax, successed on Xcode 7 beta 6, iOS 9 beta 5 Sep 3, 2015
README.md fix access level of options Nov 17, 2015
Rakefile Update to Swift 2.0 syntax, successed on Xcode 7 beta 6, iOS 9 beta 5 Sep 3, 2015
ZFRippleButton.podspec Release 0.6 Oct 21, 2016

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, amornchai.zoon@gmail.com

License

ZFRippleButton is available under the MIT license. See the LICENSE file for more info.

You can’t perform that action at this time.