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.
43 lines
1.1 KiB
C
43 lines
1.1 KiB
C
8 years ago
|
//
|
||
|
// Copyright (c) 2017 Open Whisper Systems. All rights reserved.
|
||
|
//
|
||
|
|
||
9 years ago
|
#import "OWSContactsManager.h"
|
||
11 years ago
|
|
||
|
/**
|
||
|
*
|
||
|
* ContactTableViewCell displays a contact from a Contact object.
|
||
|
*
|
||
|
*/
|
||
|
|
||
9 years ago
|
NS_ASSUME_NONNULL_BEGIN
|
||
|
|
||
8 years ago
|
extern NSString *const kContactsTable_CellReuseIdentifier;
|
||
8 years ago
|
extern const NSUInteger kContactTableViewCellAvatarSize;
|
||
|
extern const CGFloat kContactTableViewCellAvatarTextMargin;
|
||
8 years ago
|
|
||
9 years ago
|
@class OWSContactsManager;
|
||
8 years ago
|
@class SignalAccount;
|
||
8 years ago
|
@class TSThread;
|
||
11 years ago
|
|
||
9 years ago
|
@interface ContactTableViewCell : UITableViewCell
|
||
11 years ago
|
|
||
8 years ago
|
@property (nonatomic, nullable) NSString *accessoryMessage;
|
||
8 years ago
|
@property (nonatomic, readonly) UILabel *subtitle;
|
||
8 years ago
|
|
||
|
+ (nullable NSString *)reuseIdentifier;
|
||
8 years ago
|
|
||
8 years ago
|
+ (CGFloat)rowHeight;
|
||
|
|
||
8 years ago
|
- (void)configureWithSignalAccount:(SignalAccount *)signalAccount contactsManager:(OWSContactsManager *)contactsManager;
|
||
8 years ago
|
|
||
8 years ago
|
- (void)configureWithRecipientId:(NSString *)recipientId contactsManager:(OWSContactsManager *)contactsManager;
|
||
|
|
||
8 years ago
|
- (void)configureWithThread:(TSThread *)thread contactsManager:(OWSContactsManager *)contactsManager;
|
||
|
|
||
8 years ago
|
- (NSAttributedString *)verifiedSubtitle;
|
||
8 years ago
|
|
||
11 years ago
|
@end
|
||
9 years ago
|
|
||
|
NS_ASSUME_NONNULL_END
|