Latest 0.6
Homepage https://github.com/zoonooz/ZFRippleButton
License MIT
Platforms ios 8.0, requires ARC
Authors

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.

Latest podspec

{
    "name": "ZFRippleButton",
    "version": "0.6",
    "summary": "Custom UIButton effect inspired by Google Material Design",
    "homepage": "https://github.com/zoonooz/ZFRippleButton",
    "license": "MIT",
    "authors": {
        "Amornchai Kanokpullwad": "[email protected]"
    },
    "source": {
        "git": "https://github.com/zoonooz/ZFRippleButton.git",
        "tag": "0.6"
    },
    "platforms": {
        "ios": "8.0"
    },
    "requires_arc": true,
    "source_files": "Classes/*.swift",
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This