35 lines
874 B
C
35 lines
874 B
C
|
|
//
|
||
|
|
// QXSoundListView.h
|
||
|
|
// QXLive
|
||
|
|
//
|
||
|
|
// Created by 启星 on 2025/6/10.
|
||
|
|
//
|
||
|
|
|
||
|
|
#import <UIKit/UIKit.h>
|
||
|
|
|
||
|
|
NS_ASSUME_NONNULL_BEGIN
|
||
|
|
@class QXSoundListModel;
|
||
|
|
@interface QXSoundListView : UIView
|
||
|
|
-(void)showInView:(UIView *)view;
|
||
|
|
@property (nonatomic,copy)void(^playSoundBlock)(QXSoundListModel*model);
|
||
|
|
@end
|
||
|
|
|
||
|
|
|
||
|
|
@interface QXSoundListCell : UICollectionViewCell
|
||
|
|
@property (nonatomic,strong)UIButton *selectedBgBtn;
|
||
|
|
@property (nonatomic,strong)UIButton *selectedSoundBtn;
|
||
|
|
@property (nonatomic,strong)UIImageView *iconImageView;
|
||
|
|
@property (nonatomic,strong)UIButton *titleBtn;
|
||
|
|
|
||
|
|
@property (nonatomic,strong)QXSoundListModel *model;
|
||
|
|
@end
|
||
|
|
|
||
|
|
@interface QXSoundListModel : NSObject
|
||
|
|
@property (nonatomic,strong)NSString *icon;
|
||
|
|
@property (nonatomic,strong)NSString *name;
|
||
|
|
@property (nonatomic,assign)BOOL isSelected;
|
||
|
|
@property (nonatomic,strong)NSString *filePath;
|
||
|
|
|
||
|
|
@end
|
||
|
|
NS_ASSUME_NONNULL_END
|