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