CGPTCell.h 633 B

1234567891011121314151617181920212223242526
  1. //
  2. // CGPTCell.h
  3. // jitao
  4. //
  5. // Created by 罗云飞 on 2018/1/20.
  6. // Copyright © 2018年 罗云飞. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. /**
  10. * 代理,用来传递点击的是第几行,当触CollectionView的时候
  11. */
  12. @protocol CGPTColldelegate <NSObject>
  13. -(void)CGPTColldelegateClickCooRow:(NSInteger)CellRow;
  14. -(void)hahahaha:(NSInteger)tag;
  15. @end
  16. @interface CGPTCell : UITableViewCell<UICollectionViewDelegate,UICollectionViewDataSource>
  17. @property (weak, nonatomic)UICollectionView *CollView;
  18. @property (weak, nonatomic) id <CGPTColldelegate> delegateColl;
  19. - (void)reloadDatas:(NSMutableArray *)arr;
  20. @end