/************************************************************ * * EaseMob CONFIDENTIAL * __________________ * Copyright (C) 2013-2014 EaseMob Technologies. All rights reserved. * * NOTICE: All information contained herein is, and remains * the property of EaseMob Technologies. * Dissemination of this information or reproduction of this material * is strictly forbidden unless prior written permission is obtained * from EaseMob Technologies. */ #import #import "ChatSendHelper.h" #import "DXMessageToolBar.h" #import "FKMessageManager.h" #import "FKMessageRequest.h" extern NSString *const QueueNameShouqian; extern NSString *const QueueNameShouhou; @interface ChatViewController : FLViewController @property (nonatomic, strong) NSString *naviTitle; @property (nonatomic, strong) NSString *receiverHeadURL; @property (nonatomic, strong) NSString *senderHeadURL; @property (nonatomic, strong) NSString *myNickname; @property (nonatomic, strong) NSDictionary *msgExtData; @property (nonatomic, strong) dispatch_queue_t messageQueue; @property (nonatomic, assign) BOOL isHasMoreMessage; @property (nonatomic, strong) NSMutableArray *dataSource;//tableView数据源 @property (nonatomic, strong) EMConversation *conversation;//会话管理者 @property (nonatomic, strong) DXMessageToolBar *chatToolBar; @property (strong, nonatomic) UITableView *tableView; - (instancetype)initWithChatter:(NSString *)chatter isGroup:(BOOL)isGroup; - (void)configChatter:(NSString *)chatter isGroup:(BOOL)isGroup; - (void)loadMoreMessages; - (void)setupUnreadMessageCount; - (void)addChatDataToMessage:(EMMessage *)message; - (void)keyBoardHidden; - (void)beginTouchMessageToolBar; - (void)finishLoadingDataWith:(NSTimeInterval)interval; @end