mirror of
https://github.com/vector-im/element-ios.git
synced 2024-10-01 08:42:39 +00:00
45 lines
1.9 KiB
C
45 lines
1.9 KiB
C
|
/*
|
||
|
Copyright 2014 OpenMarket Ltd
|
||
|
|
||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||
|
you may not use this file except in compliance with the License.
|
||
|
You may obtain a copy of the License at
|
||
|
|
||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||
|
|
||
|
Unless required by applicable law or agreed to in writing, software
|
||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||
|
See the License for the specific language governing permissions and
|
||
|
limitations under the License.
|
||
|
*/
|
||
|
|
||
|
#import <UIKit/UIKit.h>
|
||
|
#import "CustomImageView.h"
|
||
|
|
||
|
// Room Message Table View Cell
|
||
|
@interface RoomMessageTableCell : UITableViewCell
|
||
|
@property (strong, nonatomic) IBOutlet CustomImageView *pictureView;
|
||
|
@property (weak, nonatomic) IBOutlet UITextView *messageTextView;
|
||
|
@property (strong, nonatomic) IBOutlet CustomImageView *attachmentView;
|
||
|
@property (strong, nonatomic) IBOutlet UIImageView *playIconView;
|
||
|
@property (weak, nonatomic) IBOutlet UILabel *dateTimeLabel;
|
||
|
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *msgTextViewWidthConstraint;
|
||
|
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *msgTextViewTopConstraint;
|
||
|
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *msgTextViewBottomConstraint;
|
||
|
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *dateTimeLabelTopConstraint;
|
||
|
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *attachmentViewTopAlignmentConstraint;
|
||
|
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *attachmentViewBottomAlignmentConstraint;
|
||
|
@end
|
||
|
|
||
|
@interface IncomingMessageTableCell : RoomMessageTableCell
|
||
|
@property (weak, nonatomic) IBOutlet UILabel *userNameLabel;
|
||
|
@end
|
||
|
|
||
|
@interface OutgoingMessageTableCell : RoomMessageTableCell
|
||
|
@property (weak, nonatomic) IBOutlet UILabel *unsentLabel;
|
||
|
@property (weak, nonatomic) IBOutlet UIActivityIndicatorView *activityIndicator;
|
||
|
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *unsentLabelTopConstraint;
|
||
|
@end
|
||
|
|