mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-22 01:22:46 +02:00
34 lines
695 B
Objective-C
34 lines
695 B
Objective-C
/*
|
|
Copyright 2024 New Vector Ltd.
|
|
Copyright 2016 OpenMarket Ltd
|
|
|
|
SPDX-License-Identifier: AGPL-3.0-only
|
|
Please see LICENSE in the repository root for full details.
|
|
*/
|
|
|
|
#import "MatrixKit.h"
|
|
|
|
/**
|
|
The `RoomIdOrAliasTableViewCell` cell displays a room identifier or a room alias.
|
|
*/
|
|
@interface RoomIdOrAliasTableViewCell : MXKTableViewCell
|
|
|
|
@property (weak, nonatomic) IBOutlet UIImageView *avatarImageView;
|
|
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
|
|
|
|
/**
|
|
Update the information displayed by the cell.
|
|
|
|
@param roomIdOrAlias the data to render.
|
|
*/
|
|
- (void)render:(NSString *)roomIdOrAlias;
|
|
|
|
/**
|
|
Get the cell height.
|
|
|
|
@return the cell height.
|
|
*/
|
|
+ (CGFloat)cellHeight;
|
|
|
|
@end
|