YBCommentToolBar.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. //
  2. // YBCommentToolBar.h
  3. // YBVideo
  4. //
  5. // Created by YB007 on 2019/11/21.
  6. // Copyright © 2019 cat. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #import "SelPeopleV.h"
  10. #import "twEmojiView.h"
  11. #import <HPGrowingTextView/HPGrowingTextView.h>
  12. #import <ZFPlayer/ZFPlayer.h>
  13. typedef void (^YBComToolBlock)(NSString *eventType,NSDictionary *eventDic);
  14. @interface YBCommentToolBar : UIView
  15. @property(nonatomic,copy)YBComToolBlock comToolEvent;
  16. @property(nonatomic,assign)BOOL isPrepareEditing;
  17. @property(nonatomic,strong)NSString *videoid;
  18. @property(nonatomic,strong)NSString *hostid;
  19. @property(nonatomic,strong)HPGrowingTextView *textField;
  20. @property(nonatomic,strong)UIView *tv_bg;
  21. @property(nonatomic,strong)NSMutableArray *atArray;
  22. @property(nonatomic,strong)UIButton *faceBtn;
  23. @property(nonatomic,strong)UIButton *voiceBtn;
  24. @property(nonatomic,strong)UIButton *voiceRecodeBtn;
  25. @property(nonatomic,strong)NSString *voiceDution;
  26. @property(nonatomic,strong)SelPeopleV *selV;
  27. @property(nonatomic,strong)twEmojiView *emojiV;
  28. @property (nonatomic, strong) ZFPlayerController *player;
  29. /** 注意!!!
  30. * vcType 0 观看页面(YBLookVideoVC) 1 评论页面(commentview)
  31. */
  32. - (instancetype)initWithFrame:(CGRect)frame andVCType:(int)vcType superView:(UIView *)superView;
  33. -(void)hiddenEmojiOrKeyBoard;
  34. -(void)resetToolState;
  35. @end