forked from 2359media/STXDynamicTableView
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSTXCaptionCell.h
More file actions
31 lines (20 loc) · 798 Bytes
/
STXCaptionCell.h
File metadata and controls
31 lines (20 loc) · 798 Bytes
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
//
// STXCaptionCell.h
// STXDynamicTableViewExample
//
// Created by Jesse Armand on 10/4/14.
// Copyright (c) 2014 2359 Media Pte Ltd. All rights reserved.
//
@import UIKit;
@class STXCaptionCell;
@protocol STXCaptionCellDelegate <NSObject>
@optional
- (void)captionCell:(STXCaptionCell *)captionCell didSelectHashtag:(NSString *)hashtag;
- (void)captionCell:(STXCaptionCell *)captionCell didSelectMention:(NSString *)mention;
- (void)captionCell:(STXCaptionCell *)captionCell didSelectPoster:(id<STXUserItem>)userItem;
@end
@interface STXCaptionCell : UITableViewCell
@property (copy, nonatomic) NSDictionary *caption;
@property (weak, nonatomic) id <STXCaptionCellDelegate> delegate;
- (id)initWithCaption:(NSDictionary *)caption reuseIdentifier:(NSString *)reuseIdentifier;
@end