29 lines
785 B
Objective-C
29 lines
785 B
Objective-C
//
|
|
// TUIMessageDataProvider+ProtectedAPI.h
|
|
// TXIMSDK_TUIKit_iOS
|
|
//
|
|
// Created by kayev on 2021/7/9.
|
|
// Copyright © 2023 Tencent. All rights reserved.
|
|
//
|
|
|
|
#import "TUIMessageBaseDataProvider.h"
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@interface TUIMessageBaseDataProvider ()
|
|
|
|
@property(nonatomic) NSMutableArray<TUIMessageCellData *> *uiMsgs_;
|
|
@property(nonatomic) NSMutableDictionary<NSString *, NSNumber *> *heightCache_;
|
|
@property(nonatomic) BOOL isLoadingData;
|
|
@property(nonatomic) BOOL isNoMoreMsg;
|
|
@property(nonatomic) BOOL isFirstLoad;
|
|
@property(nonatomic) V2TIMMessage *msgForDate;
|
|
|
|
- (nullable TUIMessageCellData *)getSystemMsgFromDate:(NSDate *)date;
|
|
- (NSMutableArray *)transUIMsgFromIMMsg:(NSArray *)msgs;
|
|
- (void)onRecvNewMessage:(V2TIMMessage *)msg;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|