From bea1efd34f09e7eff15d03f7e6d3b1d44c967459 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Thu, 3 Oct 2019 16:35:31 +0300 Subject: Autoresizing MessageInput --- Juick/Views/MessageInputView.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'Juick/Views/MessageInputView.h') 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 @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 delegate; -- cgit v1.2.3