26 lines
509 B
Objective-C
26 lines
509 B
Objective-C
//
|
|
// PIHoemCategoryCollectionView.h
|
|
// YuMi
|
|
//
|
|
// Created by duoban on 2024/2/21.
|
|
//
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@protocol PIHoemCategoryCollectionViewDelegate <NSObject>
|
|
|
|
-(void)pi_didSelectItemAtIndex:(NSInteger)index;
|
|
|
|
@end
|
|
|
|
|
|
@interface PIHoemCategoryCollectionView : UIView
|
|
@property(nonatomic,strong) NSMutableArray *titleList;
|
|
@property(nonatomic,assign) NSInteger index;
|
|
@property(nonatomic,weak) id<PIHoemCategoryCollectionViewDelegate>delegate;
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|