// // DRCountDownView.h // YouHuiProject // // Created by 小花 on 2018/1/17. // Copyright © 2018年 kuxuan. All rights reserved. // #import @class DRCountDownView; @protocol YHCountDownViewDelegate - (void)countViewTimeOutAction; @end @interface DRCountDownView : UIView @property (nonatomic, weak) id delegate; /** 单例初始化方法,用于cell上,配合setEndTimer方法 */ + (instancetype)shareInstace; - (void)setEndTimer:(NSString *)endTimer; /** 普通初始化方法 */ - (instancetype)initWithFrame:(CGRect)frame andEndTimer:(NSString *)endTimer; @end