summaryrefslogtreecommitdiff
path: root/Juick/Views/MessageInputView.h
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2019-10-03 15:16:18 +0300
committerGravatar Vitaly Takmazov2019-10-03 15:16:18 +0300
commita5c35479e144eef8bea9f80a10dfeb7a860763f1 (patch)
tree1fa25fd810b07cd72ffd93880206fb08c78da96d /Juick/Views/MessageInputView.h
parent19675633bce3dc7f7e4ff9712eff3938065e868c (diff)
Drop PHFComposeBarView
Diffstat (limited to 'Juick/Views/MessageInputView.h')
-rw-r--r--Juick/Views/MessageInputView.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/Juick/Views/MessageInputView.h b/Juick/Views/MessageInputView.h
index 38ce721..c78f498 100644
--- a/Juick/Views/MessageInputView.h
+++ b/Juick/Views/MessageInputView.h
@@ -8,8 +8,17 @@
#import <UIKit/UIKit.h>
+@protocol MessageInputDelegate <NSObject>
+
+-(void) textSent:(NSString *)text;
+
+@end
+
@interface MessageInputView : UIVisualEffectView
@property (strong, nonatomic) IBOutlet NSLayoutConstraint *bottomConstraint;
@property (strong, nonatomic) IBOutlet UITextField *textView;
+- (IBAction)sendPressed:(id)sender;
+
+@property (nonatomic, weak) id<MessageInputDelegate> delegate;
@end