// // QXMenuPopView.h // QXLive // // Created by 启星 on 2025/5/28. // #import typedef NS_ENUM(NSInteger) { QXMenuPopViewTypeArrowTop = 0, QXMenuPopViewTypeArrowBottom }QXMenuPopViewType; NS_ASSUME_NONNULL_BEGIN @protocol QXMenuPopViewDelegate @optional -(void)didSelectedIndex:(NSInteger)index menuTitle:(NSString*)menuTitle; @end @interface QXMenuPopView : UIView @property (nonatomic,strong)NSArray *dataArray; @property (nonatomic,weak)iddelegate; @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