mirror of https://github.com/oxen-io/session-ios
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
712 B
Objective-C
38 lines
712 B
Objective-C
//
|
|
// Copyright (c) 2017 Open Whisper Systems. All rights reserved.
|
|
//
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@class SignalAttachment;
|
|
|
|
@protocol ConversationInputTextViewDelegate <NSObject>
|
|
|
|
- (void)didPasteAttachment:(SignalAttachment *_Nullable)attachment;
|
|
|
|
- (void)inputTextViewSendMessagePressed;
|
|
|
|
@end
|
|
|
|
#pragma mark -
|
|
|
|
@protocol ConversationTextViewToolbarDelegate <NSObject>
|
|
|
|
- (void)textViewDidChange;
|
|
|
|
@end
|
|
|
|
#pragma mark -
|
|
|
|
@interface ConversationInputTextView : UITextView
|
|
|
|
@property (weak, nonatomic) id<ConversationInputTextViewDelegate> inputTextViewDelegate;
|
|
|
|
@property (weak, nonatomic) id<ConversationTextViewToolbarDelegate> textViewToolbarDelegate;
|
|
|
|
- (NSString *)trimmedText;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|