Files
keyboard/keyBoard/Class/Home/V/HomeRankCardCell.h
2025-12-03 19:19:20 +08:00

31 lines
716 B
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.

//
// HomeRankCardCell.h
// keyBoard
//
// Created by Codex on 2025/11/06.
//
#import <UIKit/UIKit.h>
#import "KBCharacter.h"
NS_ASSUME_NONNULL_BEGIN
/// 首页排行榜卡片 Cell两列
@interface HomeRankCardCell : UICollectionViewCell
/// 当前展示的角色模型
@property (nonatomic, strong, nullable) KBCharacter *character;
/// 点击加号/勾选按钮回调
@property (nonatomic, copy, nullable) void (^onTapAction)(void);
/// 旧的配置方法(兼容用,不推荐继续使用)
- (void)configureWithTitle:(NSString *)title
desc:(NSString *)desc
people:(NSString *)people
added:(BOOL)added;
@end
NS_ASSUME_NONNULL_END