提交
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
//
|
||||
// TUISearchResultCellModel.h
|
||||
// Pods
|
||||
//
|
||||
// Created by harvy on 2020/12/24.
|
||||
// Copyright © 2023 Tencent. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
#import <TIMCommon/TIMDefine.h>
|
||||
|
||||
@import UIKit;
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@interface TUISearchResultCellModel : NSObject
|
||||
|
||||
@property(nonatomic, copy) NSString* __nullable title;
|
||||
@property(nonatomic, copy) NSString* __nullable details;
|
||||
@property(nonatomic, strong) NSAttributedString* __nullable titleAttributeString;
|
||||
@property(nonatomic, strong) NSAttributedString* __nullable detailsAttributeString;
|
||||
|
||||
@property(nonatomic, copy) NSString* __nullable avatarUrl;
|
||||
@property(nonatomic, assign) TUIKitAvatarType avatarType;
|
||||
@property(nonatomic, strong) UIImage* __nullable avatarImage;
|
||||
@property(nonatomic, copy) NSString* __nullable groupID;
|
||||
@property(nonatomic, copy) NSString* __nullable groupType;
|
||||
|
||||
@property(nonatomic, assign) BOOL hideSeparatorLine;
|
||||
@property(nonatomic, strong) id context;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
@@ -0,0 +1,19 @@
|
||||
//
|
||||
// TUISearchResultCellModel.m
|
||||
// Pods
|
||||
//
|
||||
// Created by harvy on 2020/12/24.
|
||||
// Copyright © 2023 Tencent. All rights reserved.
|
||||
//
|
||||
|
||||
#import "TUISearchResultCellModel.h"
|
||||
|
||||
@implementation TUISearchResultCellModel
|
||||
- (instancetype)init {
|
||||
self = [super init];
|
||||
if (self) {
|
||||
_avatarType = TAvatarTypeRounded;
|
||||
}
|
||||
return self;
|
||||
}
|
||||
@end
|
||||
Reference in New Issue
Block a user