RCEmojiBoardView Class Reference
Inherits from | UIView |
---|---|
Conforms to | UIScrollViewDelegate |
Declared in | RCEmojiBoardView.h |
conversationType
当前的会话类型
@property (nonatomic, assign) RCConversationType conversationType
Discussion
当前的会话类型
Declared In
RCEmojiBoardView.h
targetId
当前的会话ID
@property (nonatomic, strong) NSString *targetId
Discussion
当前的会话ID
Declared In
RCEmojiBoardView.h
emojiBackgroundView
表情背景的View
@property (nonatomic, strong) UIScrollView *emojiBackgroundView
Discussion
表情背景的View
Declared In
RCEmojiBoardView.h
delegate
表情输入的回调
@property (nonatomic, weak) id<RCEmojiViewDelegate> delegate
Discussion
表情输入的回调
Declared In
RCEmojiBoardView.h
contentViewSize
表情区域的大小
@property (nonatomic, assign, readonly) CGSize contentViewSize
Discussion
表情区域的大小
Declared In
RCEmojiBoardView.h
– initWithFrame:delegate:
init
- (instancetype)initWithFrame:(CGRect)frame delegate:(id<RCEmojiViewDelegate>)delegate
Parameters
frame |
frame |
---|---|
delegate |
实现RCEmojiViewDelegate的实体 |
Discussion
init
Declared In
RCEmojiBoardView.h
– enableSendButton:
发送按钮是否可点击
- (void)enableSendButton:(BOOL)enableSend
Discussion
发送按钮是否可点击
Declared In
RCEmojiBoardView.h
– addEmojiTab:
添加表情包(普通开发者调用添加表情包)
- (void)addEmojiTab:(id<RCEmoticonTabSource>)viewDataSource
Parameters
viewDataSource |
每页表情的数据源代理,当滑动需要加载表情页时会回调代理的方法,您需要返回表情页的view |
---|
Discussion
添加表情包(普通开发者调用添加表情包)
Declared In
RCEmojiBoardView.h
– addExtensionEmojiTab:
添加Extention表情包(用于第三方表情厂商添加表情包)
- (void)addExtensionEmojiTab:(id<RCEmoticonTabSource>)viewDataSource
Parameters
viewDataSource |
每页表情的数据源代理,当滑动需要加载表情页时会回调代理的方法,您需要返回表情页的view |
---|
Discussion
添加Extention表情包(用于第三方表情厂商添加表情包)
Declared In
RCEmojiBoardView.h
– reloadExtensionEmoticonTabSource
重新加载通过扩展方式加载的表情包,(调用这个方法会回调RCExtensionModule 协议实现的扩展通过 addEmojiTab 加入的表情包不会重写加载)
- (void)reloadExtensionEmoticonTabSource
Discussion
重新加载通过扩展方式加载的表情包,(调用这个方法会回调RCExtensionModule 协议实现的扩展通过 addEmojiTab 加入的表情包不会重写加载)
Declared In
RCEmojiBoardView.h