summaryrefslogtreecommitdiff
path: root/Juick/Views/MessageCell.h
blob: 92345d6bee7b1b302d3e281c046ee447ec71095c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
//
//  MessageCell.h
//  Juick
//
//  Created by Vitaly Takmazov on 14/08/16.
//  Copyright © 2016 com.juick. All rights reserved.
//

#import <UIKit/UIKit.h>
@import TTTAttributedLabel;
@import TagListView_ObjC;
#import "Message.h"

@interface MessageCell : UITableViewCell<TTTAttributedLabelDelegate>
@property (weak, nonatomic) IBOutlet UIImageView *avatar;

@property (weak, nonatomic) IBOutlet UILabel *title;
@property (weak, nonatomic) IBOutlet UILabel *timestamp;
@property (weak, nonatomic) IBOutlet TagListView *tags;
@property (weak, nonatomic) IBOutlet TTTAttributedLabel *text;
@property (weak, nonatomic) IBOutlet UIImageView *attach;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *attachmentHeight;
@property (weak, nonatomic) IBOutlet UILabel *summary;

- (void) configureWithMessage:(Message *)msg;
@end