Files
featherVoice/TUIKit/TUIContact/BaseCell/CellUI/TUICommonContactTextCell.h
2025-08-08 10:49:36 +08:00

43 lines
928 B
Objective-C

//
// TUIContactCommonTextCell.h
// TXIMSDK_TUIKit_iOS
//
// Created by annidyfeng on 2019/5/5.
// Copyright © 2023 Tencent. All rights reserved.
//
#import <TIMCommon/TIMCommonModel.h>
#import <TIMCommon/TIMDefine.h>
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface TUICommonContactTextCellData : TUICommonCellData
@property NSString *key;
@property NSString *value;
@property BOOL showAccessory;
@property UIColor *keyColor;
@property UIColor *valueColor;
/**
* valueLabel
* Allow valueLabel to be displayed on multiple lines
*/
@property BOOL enableMultiLineValue;
@property(nonatomic, assign) UIEdgeInsets keyEdgeInsets;
@end
@interface TUICommonContactTextCell : TUICommonTableViewCell
@property UILabel *keyLabel;
@property UILabel *valueLabel;
@property(readonly) TUICommonContactTextCellData *textData;
- (void)fillWithData:(TUICommonContactTextCellData *)data;
@end
NS_ASSUME_NONNULL_END