1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 | #import <Foundation/Foundation.h>
|
9 | #import <React/RCTDefines.h>
|
10 |
|
11 | #if RCT_DEV
|
12 |
|
13 | @class RCTInspectorRemoteConnection;
|
14 |
|
15 | @interface RCTInspectorLocalConnection : NSObject
|
16 | - (void)sendMessage:(NSString *)message;
|
17 | - (void)disconnect;
|
18 | @end
|
19 |
|
20 | @interface RCTInspectorPage : NSObject
|
21 | @property (nonatomic, readonly) NSInteger id;
|
22 | @property (nonatomic, readonly) NSString *title;
|
23 | @property (nonatomic, readonly) NSString *vm;
|
24 | @end
|
25 |
|
26 | @interface RCTInspector : NSObject
|
27 | + (NSArray<RCTInspectorPage *> *)pages;
|
28 | + (RCTInspectorLocalConnection *)connectPage:(NSInteger)pageId
|
29 | forRemoteConnection:(RCTInspectorRemoteConnection *)remote;
|
30 | @end
|
31 |
|
32 | #endif
|