session-ios/SignalUtilitiesKit/To Do/ContactCellView.h

32 lines
636 B
C
Raw Normal View History

//
// 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
@property (nonatomic, nullable) NSString *accessoryMessage;
2018-10-25 15:35:08 +02:00
- (void)configureWithRecipientId:(NSString *)recipientId;
2018-10-25 15:35:08 +02:00
- (void)configureWithThread:(TSThread *)thread;
- (void)prepareForReuse;
- (NSAttributedString *)verifiedSubtitle;
- (void)setAttributedSubtitle:(nullable NSAttributedString *)attributedSubtitle;
- (BOOL)hasAccessoryText;
- (void)setAccessoryView:(UIView *)accessoryView;
@end
NS_ASSUME_NONNULL_END