1
This commit is contained in:
@@ -6,15 +6,21 @@
|
||||
//
|
||||
|
||||
#import "BaseCell.h"
|
||||
#import "KBCharacter.h"
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@interface HomeHotCell : BaseCell
|
||||
|
||||
/// 配置数据
|
||||
- (void)configWithRank:(NSInteger)rank title:(NSString *)title subtitle:(NSString *)sub joined:(BOOL)joined;
|
||||
/// 当前展示的排行榜角色模型
|
||||
@property (nonatomic, strong, nullable) KBCharacter *character;
|
||||
|
||||
/// 旧的配置方法(不再推荐使用),内部会转成 character 赋值
|
||||
- (void)configWithRank:(NSInteger)rank
|
||||
title:(NSString *)title
|
||||
subtitle:(NSString *)sub
|
||||
joined:(BOOL)joined;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
|
||||
|
||||
Reference in New Issue
Block a user