This commit is contained in:
启星
2025-08-08 10:49:36 +08:00
parent 6400cf78bb
commit b5ce3d580a
8780 changed files with 978183 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
//
// QXMenuPopView.h
// QXLive
//
// Created by 启星 on 2025/5/28.
//
#import <UIKit/UIKit.h>
typedef NS_ENUM(NSInteger) {
QXMenuPopViewTypeArrowTop = 0,
QXMenuPopViewTypeArrowBottom
}QXMenuPopViewType;
NS_ASSUME_NONNULL_BEGIN
@protocol QXMenuPopViewDelegate <NSObject>
@optional
-(void)didSelectedIndex:(NSInteger)index menuTitle:(NSString*)menuTitle;
@end
@interface QXMenuPopView : UIView
@property (nonatomic,strong)NSArray *dataArray;
@property (nonatomic,weak)id<QXMenuPopViewDelegate>delegate;
@property (nonatomic,assign)QXMenuPopViewType type;
-(instancetype)initWithPoint:(CGPoint)point;
-(instancetype)initWithPoint:(CGPoint)point width:(CGFloat)width height:(CGFloat)height;
-(void)showInView:(UIView *)view;
@end
NS_ASSUME_NONNULL_END