RCPluginBoardView Class Reference
| Inherits from | UIView |
|---|---|
| Declared in | RCPluginBoardView.h |
allItems
当前所有的扩展项
@property (nonatomic, strong) NSMutableArray *allItemsDiscussion
当前所有的扩展项
Declared In
RCPluginBoardView.h
contentView
展示所有的功能按钮
@property (nonatomic, strong) UICollectionView *contentViewDiscussion
展示所有的功能按钮
Declared In
RCPluginBoardView.h
extensionView
扩展view ,此视图会覆盖加号区域其他视图,默认隐藏
@property (nonatomic, strong) UIView *extensionViewDiscussion
扩展view ,此视图会覆盖加号区域其他视图,默认隐藏
Declared In
RCPluginBoardView.h
pluginBoardDelegate
扩展功能板的点击回调
@property (nonatomic, weak) id<RCPluginBoardViewDelegate> pluginBoardDelegateDiscussion
扩展功能板的点击回调
Declared In
RCPluginBoardView.h
– insertItem:highlightedImage:title:atIndex:tag:
向扩展功能板中插入扩展项
- (void)insertItem:(UIImage *)normalImage highlightedImage:(UIImage *)highlightedImage title:(NSString *)title atIndex:(NSInteger)index tag:(NSInteger)tagParameters
normalImage |
扩展项的展示图片 |
|---|---|
highlightedImage |
扩展项的触摸高亮图片 |
title |
扩展项的展示标题 |
index |
需要添加到的索引值 |
tag |
扩展项的唯一标示符 |
Discussion
向扩展功能板中插入扩展项
您以在RCConversationViewController的viewdidload后,添加自定义的扩展项。 SDK默认的扩展项的唯一标示符为1XXX,我们建议您在自定义扩展功能时不要选用1XXX,以免与SDK预留的扩展项唯一标示符重复。
Declared In
RCPluginBoardView.h
– insertItem:highlightedImage:title:tag:
添加扩展项到扩展功能板,并在显示为最后一项
- (void)insertItem:(UIImage *)normalImage highlightedImage:(UIImage *)highlightedImage title:(NSString *)title tag:(NSInteger)tagParameters
normalImage |
扩展项的展示图片 |
|---|---|
highlightedImage |
扩展项的触摸高亮图片 |
title |
扩展项的展示标题 |
tag |
扩展项的唯一标示符 |
Discussion
添加扩展项到扩展功能板,并在显示为最后一项
您以在RCConversationViewController的viewdidload后,添加自定义的扩展项。 SDK默认的扩展项的唯一标示符为1XXX,我们建议您在自定义扩展功能时不要选用1XXX,以免与SDK预留的扩展项唯一标示符重复。
Declared In
RCPluginBoardView.h
– updateItemAtIndex:normalImage:highlightedImage:title:
更新指定扩展项
- (void)updateItemAtIndex:(NSInteger)index normalImage:(UIImage *)normalImage highlightedImage:(UIImage *)highlightedImage title:(NSString *)titleParameters
index |
扩展项的索引值 |
|---|---|
normalImage |
扩展项的展示图片 |
highlightedImage |
扩展项的触摸高亮图片 |
title |
扩展项的展示标题 |
Discussion
更新指定扩展项
Declared In
RCPluginBoardView.h
– updateItemWithTag:normalImage:highlightedImage:title:
更新指定扩展项
- (void)updateItemWithTag:(NSInteger)tag normalImage:(UIImage *)normalImage highlightedImage:(UIImage *)highlightedImage title:(NSString *)titleParameters
tag |
扩展项的唯一标示符 |
|---|---|
normalImage |
扩展项的展示图片 |
highlightedImage |
扩展项的触摸高亮图片 |
title |
扩展项的展示标题 |
Discussion
更新指定扩展项
Declared In
RCPluginBoardView.h
– removeItemAtIndex:
删除扩展功能板中的指定扩展项
- (void)removeItemAtIndex:(NSInteger)indexParameters
index |
指定扩展项的索引值 |
|---|
Discussion
删除扩展功能板中的指定扩展项
Declared In
RCPluginBoardView.h
– removeItemWithTag:
删除扩展功能板中的指定扩展项
- (void)removeItemWithTag:(NSInteger)tagParameters
tag |
指定扩展项的唯一标示符 |
|---|
Discussion
删除扩展功能板中的指定扩展项
Declared In
RCPluginBoardView.h
– removeAllItems
删除扩展功能板中的所有扩展项
- (void)removeAllItemsDiscussion
删除扩展功能板中的所有扩展项
Declared In
RCPluginBoardView.h