TUIGroupMembersCell Class Reference
| Inherits from | UITableViewCell | 
|---|---|
| Declared in | TUIGroupMembersCell.h TUIGroupMembersCell.m  | 
Overview
【模块名称】TUIGroupMembersCell 【功能说明】“群成员”模块,用于在群组的“详细信息”中展示群内的部分群成员(默认展示前10个)。 本类同时是“群成员”界面的响应入口,点击本 Cell 可以跳转到“群成员”界面,通过“群成员”界面可以浏览群内的全部群成员。
Other Methods
  memberCollectionView
	群成员模块的 CollectionView 包含多个 TGroupMemberCell,默认情况下显示2行5列共10个群成员,并配合 memberFlowLayout 进行灵活统一的视图布局。
@property (nonatomic, strong) UICollectionView *memberCollectionViewDeclared In
TUIGroupMembersCell.h
  memberFlowLayout
	memberCollectionView 的流水布局 配合 memberCollectionView,用来维护“群成员”模块内的的布局,使成员的头像单元排布更加美观。能够设置布局方向、行间距、cell 间距等。
@property (nonatomic, strong) UICollectionViewFlowLayout *memberFlowLayoutDeclared In
TUIGroupMembersCell.h
  delegate
	委托类,负责实现 TGroupMembersCellDelegate 协议中的委托。
@property (nonatomic, weak) id<TGroupMembersCellDelegate> delegateDeclared In
TUIGroupMembersCell.h
  data
	群成员数据源,本类从 data 中获取需要显示的成员信息,并在“群成员”模块中显示。
@property (nonatomic) TGroupMembersCellData *dataDeclared In
TUIGroupMembersCell.h
+ getHeight:
	目前“群成员“模块默认显示2行5列共10个群成员头像单元。 当要显示的群成员小于列数(当前为5)时,返回 1 行的高度。 当要显示的群成员大于行数(当前为2)时,返回最大行数(2行)对应的高度。
+ (CGFloat)getHeight:(TGroupMembersCellData *)dataDiscussion
@retrun 高度,通过 行数*每行高度 计算得来。
Declared In
TUIGroupMembersCell.h
Other Methods
– initWithStyle:reuseIdentifier:
	- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier– collectionView:numberOfItemsInSection:
	- (NSInteger)collectionView:(UICollectionView *)collectionView numberOfItemsInSection:(NSInteger)section– numberOfSectionsInCollectionView:
	- (NSInteger)numberOfSectionsInCollectionView:(UICollectionView *)collectionView– collectionView:cellForItemAtIndexPath:
	- (UICollectionViewCell *)collectionView:(UICollectionView *)collectionView cellForItemAtIndexPath:(NSIndexPath *)indexPath– collectionView:didSelectItemAtIndexPath:
	- (void)collectionView:(UICollectionView *)collectionView didSelectItemAtIndexPath:(NSIndexPath *)indexPath– collectionView:layout:sizeForItemAtIndexPath:
	- (CGSize)collectionView:(UICollectionView *)collectionView layout:(UICollectionViewLayout *)collectionViewLayout sizeForItemAtIndexPath:(NSIndexPath *)indexPath