12345678910111213141516171819202122232425262728293031323334353637 |
- //
- // JLSubCollectionView.h
- // OnlyViewControllerLink
- //
- // Created by JayLuo on 2020/4/25.
- // Copyright © 2020 朱伟阁. All rights reserved.
- //
- #import <UIKit/UIKit.h>
- #import "JLSelectModel.h"
- NS_ASSUME_NONNULL_BEGIN
- @class JLSubCollectionView;
- @protocol JLSubCollectionDelegate <NSObject>
- - (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 <JLSubCollectionDelegate>delegate;
- - (instancetype)initWithFrame:(CGRect)frame contentType:(NSString*)contentType selfVc:(JLSubCollectionView *)selfVc;
- @end
- NS_ASSUME_NONNULL_END
|