34 lines
786 B
Objective-C
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
|