NIMMessageCell.h 1.3 KB

123456789101112131415161718192021222324252627282930313233
  1. //
  2. // NIMMessageCell.h
  3. // NIMKit
  4. //
  5. // Created by chris.
  6. // Copyright (c) 2015年 NetEase. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #import "NIMMessageCellProtocol.h"
  10. #import "NIMTimestampModel.h"
  11. @class NIMSessionMessageContentView;
  12. @class NIMAvatarImageView;
  13. @class NIMBadgeView;
  14. @interface NIMMessageCell : UITableViewCell
  15. @property (nonatomic, strong) NIMAvatarImageView *headImageView;
  16. @property (nonatomic, strong) UILabel *nameLabel; //姓名
  17. @property (nonatomic, strong) NIMSessionMessageContentView *bubbleView; //内容区域
  18. @property (nonatomic, strong) UIActivityIndicatorView *traningActivityIndicator; //发送loading
  19. @property (nonatomic, strong) UIButton *retryButton; //重试
  20. @property (nonatomic, strong) UIButton *priBtnButton; //消息扣费类型
  21. @property (nonatomic, strong) NIMBadgeView *audioPlayedIcon; //语音未读红点
  22. @property (nonatomic, strong) UIButton *readButton; //已读
  23. @property (nonatomic, strong) UIButton *sendSuccessBtn; //发送成功
  24. @property (nonatomic, weak) id<NIMMessageCellDelegate> delegate;
  25. - (void)refreshData:(NIMMessageModel *)data;
  26. @end