Files
keyboard/keyBoard/Class/Shop/VC/KBShopItemVC.h
2025-12-11 13:16:06 +08:00

35 lines
1.1 KiB
Objective-C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//
// KBShopItemVC.h
// keyBoard
//
// Created by Mac on 2025/11/9.
//
#import <UIKit/UIKit.h>
#import <JXPagingView/JXPagerView.h>
NS_ASSUME_NONNULL_BEGIN
@class KBShopStyleModel;
@class KBShopVM;
@class KBShopThemeModel;
@interface KBShopItemVC : UIViewController<JXPagerViewListViewDelegate>
/// 列表:使用 UICollectionView 展示两列皮肤卡片
@property (nonatomic, strong) UICollectionView *collectionView;
/// 数据源:主题列表
@property (nonatomic, strong) NSMutableArray<KBShopThemeModel *> *dataSource;
/// 是否需要上拉加载更多
@property (nonatomic, assign) BOOL isNeedFooter;
/// 是否需要下拉刷新
@property (nonatomic, assign) BOOL isNeedHeader;
/// 首次是否已刷新过(避免重复触发)
@property (nonatomic, assign) BOOL isHeaderRefreshed; // 默认为 YES
/// 当前所属风格
@property (nonatomic, strong, nullable) KBShopStyleModel *style;
/// 可复用的 ShopVM由外部传入便于共用缓存/网络配置)
@property (nonatomic, strong, nullable) KBShopVM *shopViewModel;
@end
NS_ASSUME_NONNULL_END