2
This commit is contained in:
@@ -7,11 +7,12 @@
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
#import "JXCategoryListContainerView.h"
|
||||
|
||||
#import "KBTag.h"
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@interface HomeRankContentVC : UIViewController<JXCategoryListContentViewDelegate, UICollectionViewDelegate, UICollectionViewDataSource, UICollectionViewDelegateFlowLayout>
|
||||
@property (nonatomic, strong) UICollectionView *collectionView;
|
||||
@property (nonatomic, strong) KBTag *tagModel;
|
||||
|
||||
@end
|
||||
|
||||
|
||||
@@ -179,8 +179,11 @@
|
||||
|
||||
// 返回各个列表菜单下的实例,该实例需要遵守并实现 <JXCategoryListContentViewDelegate> 协议
|
||||
- (id<JXCategoryListContentViewDelegate>)listContainerView:(JXCategoryListContainerView *)listContainerView initListForIndex:(NSInteger)index {
|
||||
KBTag *tagModel = self.tags[index];
|
||||
HomeRankContentVC *list = [[HomeRankContentVC alloc] init];
|
||||
list.tagModel = tagModel;
|
||||
self.collectionView = list.collectionView;
|
||||
|
||||
return list;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user