ContactsTableViewCell.h 927 B

123456789101112131415161718192021222324252627
  1. /**
  2. * SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors
  3. * SPDX-License-Identifier: GPL-3.0-or-later
  4. */
  5. #import <UIKit/UIKit.h>
  6. @class AvatarImageView;
  7. extern NSString *const kContactCellIdentifier;
  8. extern NSString *const kContactsTableCellNibName;
  9. extern CGFloat const kContactsTableCellHeight;
  10. extern CGFloat const kContactsTableCellTitleFontSize;
  11. @interface ContactsTableViewCell : UITableViewCell
  12. @property(nonatomic, weak) IBOutlet AvatarImageView *contactImage;
  13. @property(nonatomic, weak) IBOutlet UILabel *labelTitle;
  14. @property (weak, nonatomic) IBOutlet UIImageView *userStatusImageView;
  15. @property (weak, nonatomic) IBOutlet UILabel *userStatusMessageLabel;
  16. - (void)setUserStatus:(NSString *)userStatus;
  17. - (void)setUserStatusMessage:(NSString * _Nullable)userStatusMessage withIcon:(NSString * _Nullable)userStatusIcon;
  18. - (void)setUserStatusIconWithImage:(UIImage * _Nullable)image;
  19. @end