This commit is contained in:
2025-11-09 21:05:03 +08:00
parent aa71cc3c4f
commit 2415e97c97
6 changed files with 90 additions and 2 deletions

View File

@@ -7,6 +7,7 @@
#import "HomeRankVC.h"
#import "HomeRankContentVC.h"
#import "KBCategoryTitleImageView.h"
@interface HomeRankVC ()<JXCategoryViewDelegate>
@property (nonatomic, strong) NSArray *titles;
@@ -114,9 +115,10 @@
//
- (JXCategoryTitleImageView *)myCategoryView {
if (!_myCategoryView) {
_myCategoryView = [[JXCategoryTitleImageView alloc] init];
// Use our subclass so cells get a 4pt rounded background locally
_myCategoryView = (JXCategoryTitleImageView *)[[KBCategoryTitleImageView alloc] init];
_myCategoryView.delegate = self;
// !!!: categoryView
_myCategoryView.listContainer = self.listContainerView;
}