Initial commit
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
//
|
||||
// LXCountTimer.h
|
||||
// Elastagen
|
||||
//
|
||||
// Created by lianxiang on 2018/8/12.
|
||||
// Copyright © 2018年 jijia. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
@interface LXCountTimer : NSObject
|
||||
/**
|
||||
* 用时间戳倒计时
|
||||
* starTimeStamp 开始的时间戳
|
||||
* finishTimeStamp 结束的时间戳
|
||||
*/
|
||||
-(void)countDownWithStratTimeStamp:(long)starTimeStamp finishTimeStamp:(long)finishTimeStamp completeBlock:(void (^)(NSInteger day,NSInteger hour,NSInteger minute,NSInteger second))completeBlock;
|
||||
|
||||
|
||||
/**
|
||||
* 每秒走一次,回调block
|
||||
*/
|
||||
-(void)countDownWithPER_SECBlock:(void (^)(void))PER_SECBlock;
|
||||
|
||||
/**
|
||||
* 销毁倒计时
|
||||
*/
|
||||
-(void)destoryTimer;
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user