Skip to content

xjh093/JHCountdownButton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

JHCountdownButton

A button for countdown

  • 倒计时按钮

What

image

image


Logs

2018-7-5

  • add property 'countdownBackgroundColor'.

2018-5-8

  • update.

2018-4-19

  • upload.

API

.h

/// Prefix.
@property (nonatomic,    copy) NSString *prefixTitle;
/// Countdown number.
@property (nonatomic,  assign) NSUInteger countdownNumber;
/// Subfix.
@property (nonatomic,    copy) NSString *subfixTitle;
/// Default is 'blackColor'
@property (nonatomic,  strong) UIColor *countdownTitleColor;
/// Default is nil.
@property (nonatomic,  strong) UIColor *countdownBackgroundColor;
/// Default is '获取验证码'
@property (nonatomic,    copy) NSString *defaultTitle;
/// Default is 'blackColor'
@property (nonatomic,  strong) UIColor *defaultTitleColor;
/// Default is ‘重新发送’.
@property (nonatomic,    copy) NSString *countdownFinishTitle;
/// Default is 'blackColor'
@property (nonatomic,  strong) UIColor *countdownFinishTitleColor;

- (void)fireTimer;
- (void)reFireTimer;

About

A button for countdown,倒计时按钮

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published