Latest 0.0.1
Homepage https://github.com/OPTJoker/UIButtonHitAnimation
License MIT
Platforms ios 5.0
Authors

一句话让你的UIButton拥有点击效果

UIButton点击效果

A category: UIButton+ScaleAnimation

How to Use:

#import "UIButton+ScaleAnimation.h"

// then
testBtn.showScaleAnimation = YES;   //  这句代码一定要放在 addTarget:前面 (this property should be seted before "addtarget:")
[testBtn addTarget:self action:@selector(testBtnClicked:) forControlEvents:UIControlEventTouchUpInside];

Latest podspec

{
    "name": "UIButtonHitAnimation",
    "version": "0.0.1",
    "summary": "Add Hit Effect for your button",
    "description": "u4e00u53e5u8bddu4e3au4f60u7684UIButtonu589eu52a0u70b9u51fbu6548u679c",
    "homepage": "https://github.com/OPTJoker/UIButtonHitAnimation",
    "license": "MIT",
    "authors": {
        "OPTJoker": "[email protected]"
    },
    "platforms": {
        "ios": "5.0"
    },
    "source": {
        "git": "https://github.com/OPTJoker/UIButtonHitAnimation.git",
        "tag": "0.0.1"
    },
    "source_files": "UIButton+ScaleAnimation/*.{h,m}"
}

Pin It on Pinterest

Share This