Inherits from UIButton
Declared in SGSCountdownableButton.h

Overview

拥有倒计时功能的按钮

Tasks

Properties

countdown

@property (nonatomic, assign, readonly, getter=isCounting) BOOL countdown
Discussion

是否处于倒计时状态

Declared In

SGSCountdownableButton.h

countdownDelegate

@property (nonatomic, weak) id<SGSCountdownableButtonDelegate> countdownDelegate
Discussion

倒计时代理

Declared In

SGSCountdownableButton.h

runInBackground

@property (nonatomic, assign, getter=isRunInBackground) BOOL runInBackground
Discussion

是否要在后台运行

Declared In

SGSCountdownableButton.h

Instance Methods

countdownWithTimeout:

- (void)countdownWithTimeout:(int)timeoutSecond
Discussion

开启倒计时

Parameters

timeout

倒计时间

Declared In

SGSCountdownableButton.h

stopCounting

- (void)stopCounting
Discussion

停止倒计时

Declared In

SGSCountdownableButton.h