RCConversationCell Class Reference

Inherits from RCConversationBaseCell : UITableViewCell
Declared in RCConversationCell.h

Overview

会话Cell类

  delegate

会话Cell的点击监听器

@property (nonatomic, weak) id<RCConversationCellDelegate> delegate

Discussion

会话Cell的点击监听器

Declared In

RCConversationCell.h

  headerImageViewBackgroundView

Cell的头像背景View

@property (nonatomic, strong) UIView *headerImageViewBackgroundView

Discussion

Cell的头像背景View

Declared In

RCConversationCell.h

  headerImageView

Cell头像View

@property (nonatomic, strong) RCloudImageView *headerImageView

Discussion

Cell头像View

Declared In

RCConversationCell.h

  conversationTitle

会话的标题

@property (nonatomic, strong) UILabel *conversationTitle

Discussion

会话的标题

Declared In

RCConversationCell.h

  conversationTagView

会话标题右侧的标签view

@property (nonatomic, strong) UIView *conversationTagView

Discussion

会话标题右侧的标签view

Declared In

RCConversationCell.h

  messageContentLabel

显示最后一条内容的Label

@property (nonatomic, strong) UILabel *messageContentLabel

Discussion

显示最后一条内容的Label

Declared In

RCConversationCell.h

  messageCreatedTimeLabel

显示最后一条消息发送时间的Label

@property (nonatomic, strong) UILabel *messageCreatedTimeLabel

Discussion

显示最后一条消息发送时间的Label

Declared In

RCConversationCell.h

  bubbleTipView

头像右上角未读消息提示的View

@property (nonatomic, strong) RCMessageBubbleTipView *bubbleTipView

Discussion

头像右上角未读消息提示的View

Declared In

RCConversationCell.h

  conversationStatusImageView

会话免打扰状态显示的View

@property (nonatomic, strong) UIImageView *conversationStatusImageView

Discussion

会话免打扰状态显示的View

Declared In

RCConversationCell.h

  portraitStyle

Cell中显示的头像形状

@property (nonatomic, assign) RCUserAvatarStyle portraitStyle

Discussion

Cell中显示的头像形状

默认值为当前IMKit的全局设置值(RCIM中的globalConversationAvatarStyle)。

Declared In

RCConversationCell.h

  enableNotification

是否进行新消息提醒

@property (nonatomic, assign) BOOL enableNotification

Discussion

是否进行新消息提醒

此属性默认会根据会话设置的提醒状态进行设置。

Declared In

RCConversationCell.h

  isShowNotificationNumber

会话中有未读消息时,是否在头像右上角的bubbleTipView中显示数字

@property (nonatomic, assign) BOOL isShowNotificationNumber

Discussion

会话中有未读消息时,是否在头像右上角的bubbleTipView中显示数字

默认值为YES。 您可以在RCConversationListViewController的willDisplayConversationTableCell:atIndexPath:回调中进行设置。

Declared In

RCConversationCell.h

  hideSenderName

是否在群组和讨论组会话Cell中隐藏发送者的名称

@property (nonatomic, assign) BOOL hideSenderName

Discussion

是否在群组和讨论组会话Cell中隐藏发送者的名称

Declared In

RCConversationCell.h

  cellBackgroundColor

非置顶的Cell的背景颜色

@property (nonatomic, strong) UIColor *cellBackgroundColor

Discussion

非置顶的Cell的背景颜色

Declared In

RCConversationCell.h

  topCellBackgroundColor

置顶Cell的背景颜色

@property (nonatomic, strong) UIColor *topCellBackgroundColor

Discussion

置顶Cell的背景颜色

Declared In

RCConversationCell.h

  detailContentView

显示内容区的view

@property (nonatomic, strong) RCConversationDetailContentView *detailContentView

Discussion

显示内容区的view

Declared In

RCConversationCell.h

  statusView

显示会话状态的view

@property (nonatomic, strong) RCConversationStatusView *statusView

Discussion

显示会话状态的view

Declared In

RCConversationCell.h

– setHeaderImagePortraitStyle:

设置Cell中显示的头像形状

- (void)setHeaderImagePortraitStyle:(RCUserAvatarStyle)portraitStyle

Parameters

portraitStyle

头像形状

Discussion

设置Cell中显示的头像形状

此设置仅当前会话Cell有效。

Declared In

RCConversationCell.h

– setDataModel:

设置当前会话Cell的数据模型

- (void)setDataModel:(RCConversationModel *)model

Parameters

model

会话Cell的数据模型

Discussion

设置当前会话Cell的数据模型

Declared In

RCConversationCell.h