TUIGroupPendencyCell Class Reference

Inherits from TCommonTableViewCell : UITableViewCell
Declared in TUIGroupPendencyCell.h
TUIGroupPendencyCell.m

Overview

腾讯云 TUIKit 【模块名称】TUIGroupPendencyCell 【功能说明】TUI 群组请求单元。 本类为在群组请求控制器中显示的 tableCell。 单元中包含的具体信息有用户头像、用户昵称、申请简介、同意按钮。

Other Methods

  avatarView

申请者头像视图。

@property UIImageView *avatarView

Declared In

TUIGroupPendencyCell.h

  titleLabel

申请者昵称标签。

@property UILabel *titleLabel

Declared In

TUIGroupPendencyCell.h

  addWordingLabel

申请者请求简述。

@property UILabel *addWordingLabel

Declared In

TUIGroupPendencyCell.h

  agreeButton

同意 在 tableCell 最右侧显示的同意按钮。

@property UIButton *agreeButton

Declared In

TUIGroupPendencyCell.h

  pendencyData

请求单元数据源。 存放请求单元所需的一系列信息与数据。包括群组 ID、用户头像、用户昵称、请求状态(同意或拒绝)等等。 具体信息请参考 Section\Chat\Pendency\ViewModel\TUIGroupPendencyCellData.h

@property TUIGroupPendencyCellData *pendencyData

Declared In

TUIGroupPendencyCell.h

– fillWithData:

根据消息源填充请求单元。 包括用户头像、用户昵称、请求简述、按钮标题等。

- (void)fillWithData:(TUIGroupPendencyCellData *)pendencyData

Parameters

pendencyData

负责存放数据的数据源。

Declared In

TUIGroupPendencyCell.h

Other Methods

– initWithStyle:reuseIdentifier:

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier

– awakeFromNib

- (void)awakeFromNib

– setSelected:animated:

- (void)setSelected:(BOOL)selected animated:(BOOL)animated

– agreeClick

- (void)agreeClick

– gestureRecognizer:shouldReceiveTouch:

- (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldReceiveTouch:(UITouch *)touch