提交
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
|
||||
// Created by Tencent on 2023/06/09.
|
||||
// Copyright © 2023 Tencent. All rights reserved.
|
||||
/**
|
||||
* This file declares the view model for the friend request interface.
|
||||
* The view model can pull the friend application information through the interface provided by the IM SDK, and load the pulled information to facilitate the
|
||||
* further display of the friend application interface.
|
||||
*/
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
#import "TUICommonPendencyCell.h"
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@interface TUINewFriendViewDataProvider : NSObject
|
||||
|
||||
@property(readonly) NSArray *dataList;
|
||||
|
||||
/**
|
||||
* Has data not shown.
|
||||
* YES:There are unshown requests;NO:All requests are loaded.
|
||||
*/
|
||||
@property BOOL hasNextData;
|
||||
|
||||
@property BOOL isLoading;
|
||||
|
||||
- (void)loadData;
|
||||
|
||||
- (void)removeData:(TUICommonPendencyCellData *)data;
|
||||
- (void)agreeData:(TUICommonPendencyCellData *)data;
|
||||
- (void)rejectData:(TUICommonPendencyCellData *)data;
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
Reference in New Issue
Block a user