Files
midi_ios/QXLive/Tabbar/弹窗/QXAlertView.h
2025-09-19 11:38:43 +08:00

34 lines
786 B
Objective-C

//
// QXAlertView.h
// QXLive
//
// Created by 启星 on 2025/6/3.
//
#import <UIKit/UIKit.h>
typedef NS_ENUM(NSInteger) {
/// 删除动态
QXAlertViewTypeDeleteDynamic = 0,
/// 删除评论
QXAlertViewTypeDeleteComment,
/// 发起点歌
QXAlertViewTypeApplySong,
/// 同意点歌
QXAlertViewTypeAgreeSong,
/// pk弹窗
QXAlertViewTypeAgreePK,
/// 没有取消
QXAlertViewTypeNoCancel
}QXAlertViewType;
NS_ASSUME_NONNULL_BEGIN
@interface QXAlertView : UIView
@property (nonatomic,assign)QXAlertViewType type;
@property (nonatomic,assign)NSString *message;
@property (nonatomic,assign)NSString *title;
@property (nonatomic,copy)void(^commitBlock)(void);
@property (nonatomic,copy)void(^cancelBlock)(void);
@end
NS_ASSUME_NONNULL_END