blob: 58a4c8940851ae0f148431a785e6b713b56788ea (
plain)
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
@protocol spacingProtocol
@property NSInteger spacing;
@end
@interface cmt_insert
+ (cmt_insert*) shareInstance;
@property (readonly) BOOL isAvailable;
@property (copy) NSArray<NSString*>* contents;
- (void) updateContents:(NSArray<NSString*>*) inContents andRefresh:(BOOL) inRefresh;
@end
@implementation cmt_insert
+ (cmt_insert*) sharedInstance {
return nil;
}
- (BOOL) isAvailable {
return YES;
}
- (NSArray<NSString*>*) contents {
return @[];
}
- (void) setContents:(NSArray<NSString*>*) inContents {
}
- (void) updateContents:(NSArray<NSString*>*) inContents andRefresh:(BOOL) inRefresh {
}
@end
@interface cmt_insert_with_protocol (spacingProtocol)
@end
@implementation cmt_insert_with_protocol (spacingProtocol)
- (NSInteger) spacing {
return 0;
}
- (void) setSpacing:(NSInteger) inSpacing {
}
@end
|