Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

MrPans/PSCountDownButton

Repository files navigation

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 fill Limited 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.

About

A drop-in UIButton subclass,make countdown easy.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /