Latest 0.0.2
Homepage https://github.com/onexf/ButtonInterval
License MIT
Platforms ios
Authors

给UIButton添加触发间隔,防止重复点击。

使用方法:

pod ‘ButtonInterval’

全局统一给UIButton添加1.5秒的点击间隔
可以通过 button.timeInterval = 1.0 的方式修改某个按钮的点击间隔

Latest podspec

{
    "name": "ButtonInterval",
    "version": "0.0.2",
    "summary": "u4e3aUIButtonu6dfbu52a0u70b9u51fbu95f4u9694u7684u5206u7c7b",
    "description": "u901au8fc7u8fd0u884cu65f6u65b9u6cd5u4ea4u6362uff0cu7ed9UIButtonu70b9u51fbu4e8bu4ef6u6dfbu52a0u4e00u4e2au5173u8054u5bf9u8c61:timeIntervaluff0cu901au8fc7u5b83u53efu4ee5u8bbeu7f6eUIButtonu54cdu5e94u70b9u51fbu4e8bu4ef6u7684u65f6u95f4u95f4u9694",
    "homepage": "https://github.com/onexf/ButtonInterval",
    "license": "MIT",
    "authors": {
        "onexf": "[email protected]"
    },
    "platforms": {
        "ios": null
    },
    "source": {
        "git": "https://github.com/onexf/ButtonInterval.git",
        "tag": "0.0.2"
    },
    "source_files": [
        "Classes",
        "Classes/**/*.{h,m}"
    ]
}

Pin It on Pinterest

Share This