Latest 1.0.1
Homepage https://github.com/DeveloperPans/PSCountDownButton
License MIT
Platforms ios 7.0, requires ARC
Dependencies PSWeakProxy
Authors

PSCountDownButton 中文

docs
Pod Version
License
Platform
SwiftCompatible

A drop-in UIButton subclass makes countdown easy.

It’s painful that each project has to write a register module with sms verification. So, I just make a toy to make it easy.

PSCountDownButton was created for that. It doesn’t concentrate on what it looks like or which targets should be send action to. The only thing it handles for you is countdown.

PSCountDownButton supports both Code and Storyboard.

Getting Start

Installation with CocoaPods

add follow line into your podfile:

pod 'PSCountDownButton'

Usage

Storyboard
  1. Set Class to PSCountDownButton and fillLimited Sec at inspector if needed.
  2. Nothing but do any thing that you want to do.
Code
  1. Nothing but use it like any UIButton.

Latest podspec

{
    "name": "PSCountDownButton",
    "version": "1.0.1",
    "summary": "button for countdown",
    "description": "a drop-in button for countdown.",
    "homepage": "https://github.com/DeveloperPans/PSCountDownButton",
    "license": "MIT",
    "authors": {
        "Pan": "[email protected]"
    },
    "social_media_url": "http://shengpan.net",
    "platforms": {
        "ios": "7.0"
    },
    "requires_arc": true,
    "source": {
        "git": "https://github.com/DeveloperPans/PSCountDownButton.git",
        "tag": "1.0.1"
    },
    "source_files": "PSCountDownButton/*.{h,m}",
    "dependencies": {
        "PSWeakProxy": []
    }
}

Pin It on Pinterest

Share This