// // JLSubCollectionView.h // OnlyViewControllerLink // // Created by JayLuo on 2020/4/25. // Copyright © 2020 朱伟阁. All rights reserved. // #import #import "JLSelectModel.h" NS_ASSUME_NONNULL_BEGIN @class JLSubCollectionView; @protocol JLSubCollectionDelegate - (void)subCollection:(JLSubCollectionView *)subCollectionView didSelectedItemindexPath:(NSIndexPath *)indexPath model:(JLSelectModel *)model; @end @interface JLSubCollectionView : UIView{ NSString *_contentType; JLSubCollectionView *_self; } @property(nonatomic, assign) int nineAndTenStr; @property(nonatomic, strong) JLSelectModel *model; @property(nonatomic, strong) UICollectionView *cv; @property(nonatomic, strong) NSMutableArray *dataSource; @property(assign,nonatomic)int currentPageIndex; @property(nonatomic, weak) id delegate; - (instancetype)initWithFrame:(CGRect)frame contentType:(NSString*)contentType selfVc:(JLSubCollectionView *)selfVc; @end NS_ASSUME_NONNULL_END