This commit is contained in:
启星
2025-08-08 10:49:36 +08:00
parent 6400cf78bb
commit b5ce3d580a
8780 changed files with 978183 additions and 0 deletions

View File

@@ -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

View File

@@ -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