diff options
Diffstat (limited to 'Juick/Views/MessageInputView.h')
-rw-r--r-- | Juick/Views/MessageInputView.h | 9 |
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 |