| 123456789101112131415161718192021222324252627282930 |
- //
- // CategoryPickerView.h
- // BuguLive
- //
- // Created by qitewei on 2025/8/20.
- // Copyright © 2025 xfg. All rights reserved.
- //
- #import <UIKit/UIKit.h>
- #import "IndustryCategoryModel.h"
- NS_ASSUME_NONNULL_BEGIN
- @protocol CategoryPickerViewDelegate <NSObject>
- - (void)categoryPickerView:(UIView *)pickerView didSelectCategory:(IndustryCategoryModel *)category;
- @end
- @interface CategoryPickerView : UIView
- @property (nonatomic, weak) id<CategoryPickerViewDelegate> delegate;
- @property (nonatomic, strong) NSArray<IndustryCategoryModel *> *categories;
- - (void)showInView:(UIView *)parentView fromRect:(CGRect)rect;
- - (void)hide;
- @end
- NS_ASSUME_NONNULL_END
|