口袋优选

KBCategorySelectView.h 938B

123456789101112131415161718192021222324252627282930313233343536
  1. //
  2. // KBCategorySelectView.h
  3. // YouHuiProject
  4. //
  5. // Created by 小花 on 2018/10/9.
  6. // Copyright © 2018年 kuxuan. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #import "KBBaseViewController.h"
  10. #import "KBCategoryChannelModel.h"
  11. NS_ASSUME_NONNULL_BEGIN
  12. @protocol CategoryPopViewDelegate <NSObject>
  13. - (void)CategoryPopViewDidSelectedIndex:(NSInteger)index;
  14. @end
  15. @interface KBCategorySelectView : UIView
  16. - (instancetype)initWithmodels:(NSArray *)models delegate:(id<CategoryPopViewDelegate>)delegate selectedIndex:(NSInteger)index superVc:(KBBaseViewController *)superVc;
  17. - (void)showInView:(UIView *)view belowSubView:(UIView *)subView;
  18. @property (nonatomic, weak) id<CategoryPopViewDelegate> delegate;
  19. @end
  20. #pragma mark ------------
  21. @interface CategoryPopTypeCell : UICollectionViewCell
  22. @property (nonatomic, strong) UILabel *label;
  23. @property (nonatomic, strong) KBCategoryChannelModel *model;
  24. @end
  25. NS_ASSUME_NONNULL_END