hank
2017-06-14 a0a84333e64f1e94ae9d0f69545037c60e781842
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
33
34
35
36
37
//
//  TWTRTweetEntity.h
//
//  Copyright (c) 2016 Twitter. All rights reserved.
//
 
#import <Foundation/Foundation.h>
#import <TwitterKit/TWTRJSONConvertible.h>
 
NS_ASSUME_NONNULL_BEGIN
 
@interface TWTRTweetEntity : NSObject <NSCoding, NSCopying, TWTRJSONConvertible>
 
/**
 * The start index of the entity in code points.
 */
@property (nonatomic, readonly) NSInteger startIndex;
 
/**
 * The end index of the entity in code points.
 */
@property (nonatomic, readonly) NSInteger endIndex;
 
/**
 * Initializes the receiver with the given start index and end index.
 */
- (instancetype)initWithStartIndex:(NSInteger)startIndex endIndex:(NSInteger)endIndex;
 
/**
 * Subclasses should override this method to provide an accessibility value
 * which can be used inside of Tweets.
 */
- (NSString *)accessibilityValue;
 
@end
 
NS_ASSUME_NONNULL_END