HomeBigshotCell.h 987 B

12345678910111213141516171819202122232425262728
  1. //
  2. // HomeBigshotCell.h
  3. // smartRhino
  4. //
  5. // Created by niuzhen on 2020/6/13.
  6. // Copyright © 2020 tederen. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #import "HomeSubModel.h"
  10. #import "HomeSubItemModel.h"
  11. NS_ASSUME_NONNULL_BEGIN
  12. @interface HomeBigshotCell : UITableViewCell<UICollectionViewDelegate,UICollectionViewDataSource,UICollectionViewDelegateFlowLayout>
  13. @property (weak, nonatomic) IBOutlet UICollectionView *collectionView;
  14. @property (weak, nonatomic) IBOutlet NSLayoutConstraint *height;
  15. @property (weak, nonatomic) IBOutlet UILabel *CellTitleL;
  16. @property (copy, nonatomic) void(^ClickItemBlock)(HomeSubItemModel * pmodel);
  17. + (HomeBigshotCell *)configCell0:(UITableView *)tableView indexPath:(NSIndexPath *)indexPath;
  18. + (HomeBigshotCell *)configCell1:(UITableView *)tableView indexPath:(NSIndexPath *)indexPath;
  19. - (void)setDatatype:(NSInteger)type array:(NSArray *)array;
  20. - (void)setDatatype:(NSInteger)type model:(HomeSubModel *)model;
  21. @end
  22. NS_ASSUME_NONNULL_END