//
//  HaveNewVersionView.h
//  VclustersGemini
//
//  Created by APPLE on 2020/2/24.
//  Copyright © 2020 APPLE. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "HWVersionModel.h"

NS_ASSUME_NONNULL_BEGIN

@protocol HaveNewVersionViewDelegate <NSObject>

@optional
- (void)updateBtnBePressed:(id)sender;
- (void)closeBtnBePressed;

@end

@interface HaveNewVersionView : UIView

@property (nonatomic,assign)BOOL       isShow; // 是否正在展示中
@property (nonatomic,assign)BOOL       isContinueCheckAlert; // 首页-是否继续走下一步弹窗检测流程
@property (nonatomic,strong)UILabel    *titleLabel;
@property (nonatomic,strong)UILabel    *detailLabel;
@property (nonatomic,strong)UIView     *bgView;
@property (nonatomic,strong)UIButton   *deleteBtn;

@property(nonatomic,strong)HWVersionModel *versionModel;

@property (nonatomic,weak)id <HaveNewVersionViewDelegate> delegate;

+ (instancetype)shardInstance;

@end

NS_ASSUME_NONNULL_END
