Initial commit

This commit is contained in:
lianxiang
2018-08-22 11:15:52 +08:00
parent d98e20881f
commit 249bf6864e
491 changed files with 68665 additions and 7 deletions
+30
View File
@@ -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