diff options
Diffstat (limited to 'Juick/Views/MessageCell.h')
-rw-r--r-- | Juick/Views/MessageCell.h | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/Juick/Views/MessageCell.h b/Juick/Views/MessageCell.h deleted file mode 100644 index f568bdc..0000000 --- a/Juick/Views/MessageCell.h +++ /dev/null @@ -1,32 +0,0 @@ -// -// MessageCell.h -// Juick -// -// Created by Vitaly Takmazov on 03/12/2017. -// Copyright © 2017 com.juick. All rights reserved. -// - -#import <UIKit/UIKit.h> -#import "Message.h" - -@protocol MessageCellDelegate --(void) avatarClicked:(NSString *)uname; --(void) linkClicked:(NSString *)url; - -@end - -@interface MessageCell : UITableViewCell -@property (weak, nonatomic) IBOutlet UIImageView *avatar; - -@property (weak, nonatomic) IBOutlet UILabel *title; -@property (weak, nonatomic) IBOutlet UILabel *timestamp; -@property (weak, nonatomic) IBOutlet UITextView *text; -@property (weak, nonatomic) IBOutlet UIImageView *attach; -@property (weak, nonatomic) IBOutlet NSLayoutConstraint *attachmentHeight; -@property (weak, nonatomic) IBOutlet NSLayoutConstraint *attachmentWidth; -@property (weak, nonatomic) IBOutlet UILabel *summary; - -@property (nonatomic, strong) id<MessageCellDelegate> delegate; - -- (void) configureWithMessage:(Message *)msg selectable:(BOOL)selectable; -@end |