提交
This commit is contained in:
34
QXLive/Dynamic(语圈)/View/QXMenuPopView.h
Normal file
34
QXLive/Dynamic(语圈)/View/QXMenuPopView.h
Normal 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
|
||||
Reference in New Issue
Block a user