Skip to content

Custom UIButton effect inspired by Google Material Design

License

Notifications You must be signed in to change notification settings

MichaelDanielTom/ZFRippleButton

 
 

Repository files navigation

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

and you can set the color of ripple using rippleColor and rippleBackgroundColor

Requirements

  • iOS >= 7.0

Author

Amornchai Kanokpullwad, amornchai.zoon@gmail.com

License

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

About

Custom UIButton effect inspired by Google Material Design

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 64.0%
  • Ruby 36.0%