1
This commit is contained in:
@@ -6,16 +6,16 @@
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
#import "KBCharacter.h"
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
/// 用于 HomeHot 顶部展示前三名的视图
|
||||
@interface KBTopThreeView : UIView
|
||||
|
||||
/// 配置三项内容(数组元素可传 @{ @"title":NSString, @"rank":@(1/2/3) })
|
||||
- (void)configWithItems:(NSArray<NSDictionary *> *)items;
|
||||
/// 使用前三名角色模型进行配置(数组元素为 KBCharacter*,最多取前三个)
|
||||
- (void)configWithCharacters:(NSArray<KBCharacter *> *)characters;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
|
||||
|
||||
Reference in New Issue
Block a user