TUISystemMessageCellData Class Reference

Inherits from TUIMessageCellData : TCommonCellData : NSObject
Declared in TUISystemMessageCellData.h
TUISystemMessageCellData.m

Overview

【模块名称】TUISystemMessageCellData 【功能说明】系统消息单元数据源。 存放系统消息所需要的信息与数据。 数据源帮助实现了 MVVM 架构,使数据与 UI 进一步解耦,同时使 UI 层更加细化、可定制化。

Other Methods

  content

系统消息内容,例如“您撤回了一条消息。”

@property (nonatomic, strong) NSString *content

Declared In

TUISystemMessageCellData.h

  contentFont

内容字体 系统消息显示时的 UI 字体。

@property UIFont *contentFont

Declared In

TUISystemMessageCellData.h

  contentColor

内容颜色 系统消息显示时的 UI 颜色。

@property UIColor *contentColor

Declared In

TUISystemMessageCellData.h

Other Methods

– initWithDirection:

- (instancetype)initWithDirection:(TMsgDirection)direction

Declared In

TUIMessageCellData.h

– contentSize

内容大小 返回一个气泡内容的视图大小。

- (CGSize)contentSize

Declared In

TUIMessageCellData.h

– heightOfWidth:

- (CGFloat)heightOfWidth:(CGFloat)width