2017-03-31 23:43:42 +02:00
|
|
|
//
|
2018-06-12 17:27:32 +02:00
|
|
|
// Copyright (c) 2018 Open Whisper Systems. All rights reserved.
|
2017-03-31 23:43:42 +02:00
|
|
|
//
|
|
|
|
|
2016-11-18 23:11:56 +01:00
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
|
2017-04-26 19:03:51 +02:00
|
|
|
@class TSThread;
|
2014-05-06 19:41:08 +02:00
|
|
|
|
2016-11-18 23:11:56 +01:00
|
|
|
@interface ContactTableViewCell : UITableViewCell
|
2014-11-21 14:38:37 +01:00
|
|
|
|
2018-06-12 17:27:32 +02:00
|
|
|
+ (NSString *)reuseIdentifier;
|
2017-04-05 19:27:29 +02:00
|
|
|
|
2018-10-25 15:35:08 +02:00
|
|
|
- (void)configureWithRecipientId:(NSString *)recipientId;
|
2017-04-18 22:08:01 +02:00
|
|
|
|
2018-10-25 15:35:08 +02:00
|
|
|
- (void)configureWithThread:(TSThread *)thread;
|
2017-04-26 19:03:51 +02:00
|
|
|
|
2018-06-21 20:49:19 +02:00
|
|
|
// This method should be called _before_ the configure... methods.
|
|
|
|
- (void)setAccessoryMessage:(nullable NSString *)accessoryMessage;
|
|
|
|
|
|
|
|
// This method should be called _after_ the configure... methods.
|
|
|
|
- (void)setAttributedSubtitle:(nullable NSAttributedString *)attributedSubtitle;
|
|
|
|
|
2017-08-23 21:41:56 +02:00
|
|
|
- (NSAttributedString *)verifiedSubtitle;
|
2017-06-09 22:21:59 +02:00
|
|
|
|
2018-06-21 21:45:15 +02:00
|
|
|
- (BOOL)hasAccessoryText;
|
|
|
|
|
|
|
|
- (void)ows_setAccessoryView:(UIView *)accessoryView;
|
|
|
|
|
2014-05-06 19:41:08 +02:00
|
|
|
@end
|
2016-11-18 23:11:56 +01:00
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_END
|