summaryrefslogtreecommitdiff
path: root/Juick/MessageCell.h
blob: 7972470e7a630c0713ba57c1ccc409b95ef8f0e7 (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
27
28
29
30
31
32
//
//  MessageCell.h
//  Juick
//
//  Created by Vitaly Takmazov on 29.10.13.
//  Copyright (c) 2013 com.juick. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "TTTAttributedLabel.h"

#import "Message.h"

#import "NSString+HTML.h"


#define kLabelHorizontalInsets 20.0f


@interface MessageCell : UITableViewCell<TTTAttributedLabelDelegate>

@property (strong, nonatomic) IBOutlet UILabel *titleLabel;
@property (strong, nonatomic) IBOutlet UILabel *timestampLabel;
@property (strong, nonatomic) IBOutlet UIImageView *avatar;
@property (strong, nonatomic) IBOutlet TTTAttributedLabel *bodyLabel;
@property (strong, nonatomic) IBOutlet UIImageView *attach;
@property (strong, nonatomic) IBOutlet UILabel *summaryLabel;

- (void) updateFonts;
- (void) bind:(Message *)msg;

@end