LZBKeyBoardToolEmojiBar.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. //
  2. // LZBKeyBoardToolEmojiBar.h
  3. // LZBKeyBoardView
  4. //
  5. // demo地址:https://github.com/lzbgithubcode/LZBKeyBoardView.git
  6. // Created by zibin on 16/12/6.
  7. // Copyright © 2016年 apple. All rights reserved.
  8. //
  9. #import <UIKit/UIKit.h>
  10. @interface LZBKeyBoardToolEmojiBar : UIView
  11. /**
  12. 弹出自定义键盘和输入框工具条--有表情键盘 注意:一定是要在viewDidLayout中增加控件
  13. @param toolBarHeight 工具条的高度
  14. @param sendTextBlock 返回输入框输入的文字
  15. @return 返回LZBKeyBoardToolBar
  16. */
  17. + (LZBKeyBoardToolEmojiBar *)showKeyBoardWithConfigToolBarHeight:(CGFloat)toolBarHeight sendTextCompletion:(void(^)(NSString *sendText))sendTextBlock;
  18. @property (nonatomic,assign)BOOL isCurrentUserUpSeat;// 当前用户是否在座位上
  19. @property (nonatomic,copy) void (^animationEmojiBtnClickBlock)(void);
  20. /**
  21. 设置输入框占位文字
  22. @param placeText 占位文字
  23. */
  24. - (void)setInputViewPlaceHolderText:(NSString *)placeText;
  25. - (void)showKeyBoard;
  26. - (void)showEmoji;
  27. - (void)becomeFirstResponder;
  28. - (void)resignFirstResponder;
  29. @end