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.
37 lines
958 B
Objective-C
37 lines
958 B
Objective-C
//
|
|
// Copyright (c) 2018 Open Whisper Systems. All rights reserved.
|
|
//
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
extern const NSUInteger kContactCellAvatarSize;
|
|
extern const CGFloat kContactCellAvatarTextMargin;
|
|
|
|
@class OWSContactsManager;
|
|
@class SignalAccount;
|
|
@class TSThread;
|
|
|
|
@interface ContactCellView : UIView
|
|
|
|
@property (nonatomic, nullable) NSString *accessoryMessage;
|
|
|
|
- (void)configureWithSignalAccount:(SignalAccount *)signalAccount contactsManager:(OWSContactsManager *)contactsManager;
|
|
|
|
- (void)configureWithRecipientId:(NSString *)recipientId contactsManager:(OWSContactsManager *)contactsManager;
|
|
|
|
- (void)configureWithThread:(TSThread *)thread contactsManager:(OWSContactsManager *)contactsManager;
|
|
|
|
- (void)prepareForReuse;
|
|
|
|
- (NSAttributedString *)verifiedSubtitle;
|
|
|
|
- (void)setAttributedSubtitle:(nullable NSAttributedString *)attributedSubtitle;
|
|
|
|
- (BOOL)hasAccessoryText;
|
|
|
|
- (void)setAccessoryView:(UIView *)accessoryView;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|