2021-11-29 21:40:11 +08:00
|
|
|
//
|
|
|
|
// XPSearchListTableViewCell.h
|
|
|
|
// xplan-ios
|
|
|
|
//
|
|
|
|
// Created by 冯硕 on 2021/11/29.
|
|
|
|
//
|
|
|
|
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
2021-12-02 18:06:11 +08:00
|
|
|
typedef NS_ENUM(NSInteger, SearchType){
|
|
|
|
///搜索房间
|
|
|
|
SearchType_Room = 1,
|
|
|
|
///搜索用户
|
|
|
|
SearchType_Users = 2,
|
|
|
|
};
|
|
|
|
|
2022-11-29 15:37:03 +08:00
|
|
|
@class HomeSearchResultModel, HomeRecommendRoomModel;
|
2021-11-29 21:40:11 +08:00
|
|
|
@interface XPSearchListTableViewCell : UITableViewCell
|
2021-12-02 18:06:11 +08:00
|
|
|
|
|
|
|
///配置数据
|
|
|
|
- (void)configData:(HomeSearchResultModel *)resultModel type:(SearchType)type;
|
2022-11-29 15:37:03 +08:00
|
|
|
|
|
|
|
///配置大家都在搜房间列表
|
|
|
|
- (void)configEveryoneData:(HomeRecommendRoomModel *)resultModel;
|
|
|
|
|
2021-11-29 21:40:11 +08:00
|
|
|
@end
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_END
|