mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
27 lines
625 B
Objective-C
27 lines
625 B
Objective-C
//
|
|
// Copyright (c) 2018 Open Whisper Systems. All rights reserved.
|
|
//
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@class ConversationViewItem;
|
|
@class TSQuotedMessage;
|
|
|
|
@interface OWSQuotedMessageView : UIView
|
|
|
|
- (instancetype)init NS_UNAVAILABLE;
|
|
|
|
- (instancetype)initWithViewItem:(ConversationViewItem *)viewItem
|
|
// quotedMessage:(TSQuotedMessage *)quotedMessage
|
|
textMessageFont:(UIFont *)textMessageFont;
|
|
|
|
// Only needs to be called if we're going to render this instance.
|
|
- (void)createContents;
|
|
|
|
// Measurement
|
|
- (CGSize)sizeForMaxWidth:(CGFloat)maxWidth;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|