diff options
Diffstat (limited to 'Juick/Views/MessageInputView.h')
-rw-r--r-- | Juick/Views/MessageInputView.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Juick/Views/MessageInputView.h b/Juick/Views/MessageInputView.h index c78f498..9cf3652 100644 --- a/Juick/Views/MessageInputView.h +++ b/Juick/Views/MessageInputView.h @@ -14,9 +14,14 @@ @end -@interface MessageInputView : UIVisualEffectView +@interface MessageInputView : UIVisualEffectView<UITextViewDelegate> @property (strong, nonatomic) IBOutlet NSLayoutConstraint *bottomConstraint; -@property (strong, nonatomic) IBOutlet UITextField *textView; +@property (weak, nonatomic) IBOutlet NSLayoutConstraint *textHeightConstraint; +@property (weak, nonatomic) IBOutlet NSLayoutConstraint *topMarginConstraint; +@property (strong, nonatomic) IBOutlet UITextView *textView; + +@property (weak, nonatomic) IBOutlet UIButton *sendButton; + - (IBAction)sendPressed:(id)sender; @property (nonatomic, weak) id<MessageInputDelegate> delegate; |