Files
bundesmessenger-ios/Riot/Modules/GlobalSearch/Views/RoomIdOrAliasTableViewCell.h
T
Mauro Romito 12837d4b89 update license
2024-09-25 12:24:52 +02:00

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