// // EMChatBar.h // ChatDemo-UI3.0 // // Created by XieYajie on 2019/1/25. // Copyright © 2019 XieYajie. All rights reserved. // #import #import "EMTextView.h" #import "EMChatBarEmoticonView.h" #import "EMChatBarRecordAudioView.h" #import "EMMoreFunctionView.h" NS_ASSUME_NONNULL_BEGIN @protocol EMChatBarDelegate; @interface EMChatBar : UIView @property (nonatomic, strong) NSMutableArray *buttonArray; @property (nonatomic, weak) id delegate; @property (nonatomic, strong) EMTextView *textView; @property (nonatomic, strong) EMChatBarRecordAudioView *recordAudioView; @property (nonatomic, strong) EMChatBarEmoticonView *moreEmoticonView; @property (nonatomic, strong) EMMoreFunctionView *moreFunctionView; @property (nonatomic, copy) void (^clickMore)(NSInteger index,NSString *title); - (void)clearInputViewText; - (void)inputViewAppendText:(NSString *)aText; - (void)clearMoreViewAndSelectedButton; @end @protocol EMChatBarDelegate @optional - (BOOL)inputView:(EMTextView *)aInputView shouldChangeTextInRange:(NSRange)range replacementText:(NSString *)text; - (void)inputViewDidChange:(EMTextView *)aInputView; //- (void)chatBarDidCameraAction; // //- (void)chatBarDidPhotoAction; // //- (void)chatBarDidLocationAction; // //- (void)chatBarDidCallAction; // - (void)chatBarDidShowMoreViewAction:(BOOL)isInput; - (void)chatBarClickMoreType:(SmartBarType)type; //- (void)chatBarHeightDidChanged; @end NS_ASSUME_NONNULL_END