Latest 1.0
Homepage https://github.com/yuhuans/YHWaterRippleBtn
License MIT
Platforms ios 8.0
Authors

自定义按钮纹波效应,它是简单的集成和可定制的组件。

btSimpleRippleButton Screenshot . btSimpleRippleButton Screenshot . btSimpleRippleButton Screenshot

使用说明

拖动文件YHWaterRippleBtn.h/YHWaterRippleBtn.m到您的项目,或者pod ‘YHWaterRippleBtn’

YHWaterRippleBtn *btn=[[YHWaterRippleBtn alloc]initWithFrame:CGRectMake(100, 100, 100, 100)];
[btn setTitle:@"button" forState:UIControlStateNormal];
 btn.rippleType=YHWaterRippleBtnTypeInnerCenter;
[self.view addSubview:btn];

Latest podspec

{
    "name": "YHWaterRippleBtn",
    "version": "1.0",
    "summary": "Ripple Button",
    "description": "u81eau5b9au4e49u6309u94aeu7eb9u6ce2u6548u5e94,u5b83u662fu7b80u5355u7684u96c6u6210u548cu53efu5b9au5236u7684u7ec4u4ef6",
    "homepage": "https://github.com/yuhuans/YHWaterRippleBtn",
    "license": "MIT",
    "authors": {
        "yuhuanwater": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/yuhuans/YHWaterRippleBtn.git",
        "tag": "1.0"
    },
    "source_files": "YHWaterRipple/YHWaterRipple/YHWaterRippleBtn/*.{h,m}"
}

Pin It on Pinterest

Share This