summaryrefslogtreecommitdiff
path: root/Juick/Views/MessageCell.h
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-04-28 04:45:13 +0300
committerGravatar Vitaly Takmazov2018-04-28 04:45:13 +0300
commit05520b1f723b021bb57972b71cbe13684ab2195b (patch)
tree5bb39543164001537552e41cdb7e03a797398697 /Juick/Views/MessageCell.h
parentf6fed5b2374c7d847c68efccce363f9513aa2efb (diff)
Blog view
Diffstat (limited to 'Juick/Views/MessageCell.h')
-rw-r--r--Juick/Views/MessageCell.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Juick/Views/MessageCell.h b/Juick/Views/MessageCell.h
index 737ec89..475eea3 100644
--- a/Juick/Views/MessageCell.h
+++ b/Juick/Views/MessageCell.h
@@ -11,6 +11,10 @@
@import TagListView_ObjC;
#import "Message.h"
+@protocol MessageCellDelegate
+-(void) avatarClicked:(NSString *)uname;
+@end
+
@interface MessageCell : UITableViewCell<TTTAttributedLabelDelegate>
@property (weak, nonatomic) IBOutlet UIImageView *avatar;
@@ -22,5 +26,7 @@
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *attachmentHeight;
@property (weak, nonatomic) IBOutlet UILabel *summary;
+@property (nonatomic, strong) id<MessageCellDelegate> delegate;
+
- (void) configureWithMessage:(Message *)msg;
@end