Files
yinmeng-ios/xplan-ios/Main/Message/View/Session/SendMessageView.h
2021-12-08 18:53:33 +08:00

29 lines
479 B
Objective-C

//
// SendMessageView.h
// xplan-ios
//
// Created by zu on 2021/11/28.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@protocol SendMessageViewDelegate <NSObject>
- (void)sendTextMessage:(NSString *)text;
@end
#define VIEW_HEIGHT (kSafeAreaBottomHeight + 50)
@interface SendMessageView : UIView
@property (nonatomic, assign, getter=isSendDisabled) BOOL sendDisabled;
@property (nonatomic, weak) id<SendMessageViewDelegate> delegate;
@end
NS_ASSUME_NONNULL_END