TUIContactController Class Reference
Inherits from | UIViewController |
---|---|
Declared in | TUIContactController.h TUIContactController.m |
Overview
【模块名称】消息列表界面(TUIContactController) 【功能说明】显示消息列表总界面,为用户提供消息管理的操作入口。 消息列表包含了: 1、好友请求管理(TUINewFriendViewController) 2、群聊菜单(TUIGroupConversationListController) 3、黑名单(TUIBlackListController) 4、好友列表
Other Methods
– viewModel
消息列表界面的视图模型 视图模型负责通过 IM SDK 的接口,拉取好友列表、好友请求等信息并将其加载,以便客户端的进一步处理。 详细信息请参考 Section\Contact\ViewModel\TContactViewModel.h
- (TContactViewModel *)viewModel
Declared In
TUIContactController.h
– tableView:numberOfRowsInSection:
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
– tableView:viewForHeaderInSection:
- (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section
– tableView:heightForRowAtIndexPath:
- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath
– tableView:heightForHeaderInSection:
- (CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section
– sectionIndexTitlesForTableView:
- (NSArray *)sectionIndexTitlesForTableView:(UITableView *)tableView
– tableView:cellForRowAtIndexPath:
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
– conversationListController:didSelectConversation:
- (void)conversationListController:(TUIConversationListController *)conversationController didSelectConversation:(TUIConversationCell *)conversation