element-ios/Riot/Modules/MatrixKit/Views/MXKTableViewCell/MXKTableViewCellWithLabelAn...

32 lines
1.1 KiB
Objective-C

/*
Copyright 2024 New Vector Ltd.
Copyright 2015 OpenMarket Ltd
SPDX-License-Identifier: AGPL-3.0-only
Please see LICENSE in the repository root for full details.
*/
#import "MXKTableViewCell.h"
/**
'MXKTableViewCellWithLabelAndSubLabel' inherits 'MXKTableViewCell' class.
It constains two 'UILabel' instances.
*/
@interface MXKTableViewCellWithLabelAndSubLabel : MXKTableViewCell
@property (strong, nonatomic) IBOutlet UILabel* mxkLabel;
@property (strong, nonatomic) IBOutlet UILabel* mxkSublabel;
/**
Leading/Trailing constraints define here spacing to nearest neighbor (no relative to margin)
*/
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *mxkLabelTopConstraint;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *mxkLabelLeadingConstraint;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *mxkLabelTrailingConstraint;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *mxkSublabelLeadingConstraint;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *mxkSublabelTrailingConstraint;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *mxkSublabelBottomConstraint;
@end