summaryrefslogtreecommitdiff
path: root/Juick/Views/MessageInputView.h
blob: c78f49832297d3e6e87f86d9cc323d7c39f113ef (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
//
//  MessageInputView.h
//  Juick
//
//  Created by Vitaly Takmazov on 08/04/2018.
//  Copyright © 2018 com.juick. All rights reserved.
//

#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