2018-06-21 20:49:19 +02:00
|
|
|
//
|
|
|
|
// Copyright (c) 2018 Open Whisper Systems. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
|
|
|
|
extern const CGFloat kContactCellAvatarTextMargin;
|
|
|
|
|
|
|
|
@class TSThread;
|
|
|
|
|
2018-06-27 21:42:05 +02:00
|
|
|
@interface ContactCellView : UIStackView
|
2018-06-21 20:49:19 +02:00
|
|
|
|
|
|
|
@property (nonatomic, nullable) NSString *accessoryMessage;
|
|
|
|
|
2018-10-25 15:35:08 +02:00
|
|
|
- (void)configureWithRecipientId:(NSString *)recipientId;
|
2018-06-21 20:49:19 +02:00
|
|
|
|
2018-10-25 15:35:08 +02:00
|
|
|
- (void)configureWithThread:(TSThread *)thread;
|
2018-06-21 20:49:19 +02:00
|
|
|
|
|
|
|
- (void)prepareForReuse;
|
|
|
|
|
|
|
|
- (NSAttributedString *)verifiedSubtitle;
|
|
|
|
|
|
|
|
- (void)setAttributedSubtitle:(nullable NSAttributedString *)attributedSubtitle;
|
|
|
|
|
2018-06-21 21:45:15 +02:00
|
|
|
- (BOOL)hasAccessoryText;
|
|
|
|
|
2018-06-21 21:51:53 +02:00
|
|
|
- (void)setAccessoryView:(UIView *)accessoryView;
|
2018-06-21 21:45:15 +02:00
|
|
|
|
2018-06-21 20:49:19 +02:00
|
|
|
@end
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_END
|