// // YMFriendsListViewModel.h // MSYOUPAI // // Created by YoMi on 2024/3/1. // Copyright © 2024 MS. All rights reserved. // #import "MSYOUPAIViewModel.h" #import "YMFriendsListCellViewModel.h" NS_ASSUME_NONNULL_BEGIN /** 好友分类类型 */ typedef NS_ENUM(NSUInteger, YMFriendsCategoryType) { /** 关注*/ YMFriendsCategoryTypeFollow = 0, /** 粉丝*/ YMFriendsCategoryTypeFans = 1, }; @interface YMFriendsListViewModel : MSYOUPAIViewModel /// 获取好友列表数据 - (void)getFriendsListData; /// 请求数据分页 @property (nonatomic, assign) NSInteger currentPage; /// 好友分类类型 @property (nonatomic, assign, readonly) YMFriendsCategoryType categoryType; /// 列表数据 @property (nonatomic, strong, readonly) NSMutableArray *listDataArray; @end NS_ASSUME_NONNULL_END