UNPKG

829 Btext/x-cView Raw
1#ifdef RCT_NEW_ARCH_ENABLED
2#import <React/RCTViewComponentView.h>
3#else
4#endif
5
6#import <React/RCTViewManager.h>
7
8NS_ASSUME_NONNULL_BEGIN
9
10@protocol RNSScreenContainerDelegate
11
12- (void)markChildUpdated;
13- (void)updateContainer;
14
15@end
16
17@protocol RNSViewControllerDelegate
18
19@end
20
21@interface RNSViewController : UIViewController <RNSViewControllerDelegate>
22
23- (UIViewController *)findActiveChildVC;
24
25@end
26
27@interface RNSScreenContainerManager : RCTViewManager
28
29@end
30
31@interface RNSScreenContainerView :
32#ifdef RCT_NEW_ARCH_ENABLED
33 RCTViewComponentView <RNSScreenContainerDelegate>
34#else
35 UIView <RNSScreenContainerDelegate, RCTInvalidating>
36#endif
37
38@property (nonatomic, retain) UIViewController *controller;
39@property (nonatomic, retain) NSMutableArray *reactSubviews;
40
41- (void)maybeDismissVC;
42
43@end
44
45NS_ASSUME_NONNULL_END