GT2/GT2-iOS/node_modules/react-native/React/Inspector/RCTInspector.h

27 lines
666 B
C
Raw Normal View History

2018-02-12 17:26:06 +00:00
// Copyright 2004-present Facebook. All Rights Reserved.
#import <Foundation/Foundation.h>
#import <React/RCTDefines.h>
#if RCT_DEV
@class RCTInspectorRemoteConnection;
@interface RCTInspectorLocalConnection : NSObject
- (void)sendMessage:(NSString *)message;
- (void)disconnect;
@end
@interface RCTInspectorPage : NSObject
@property (nonatomic, readonly) NSInteger id;
@property (nonatomic, readonly) NSString *title;
@end
@interface RCTInspector : NSObject
+ (NSArray<RCTInspectorPage *> *)pages;
+ (RCTInspectorLocalConnection *)connectPage:(NSInteger)pageId
forRemoteConnection:(RCTInspectorRemoteConnection *)remote;
@end
#endif