46 lines
829 B
Objective-C
46 lines
829 B
Objective-C
#ifdef RCT_NEW_ARCH_ENABLED
|
|
#import <React/RCTViewComponentView.h>
|
|
#else
|
|
#endif
|
|
|
|
#import <React/RCTViewManager.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@protocol RNSScreenContainerDelegate
|
|
|
|
- (void)markChildUpdated;
|
|
- (void)updateContainer;
|
|
|
|
@end
|
|
|
|
@protocol RNSViewControllerDelegate
|
|
|
|
@end
|
|
|
|
@interface RNSViewController : UIViewController <RNSViewControllerDelegate>
|
|
|
|
- (UIViewController *)findActiveChildVC;
|
|
|
|
@end
|
|
|
|
@interface RNSScreenContainerManager : RCTViewManager
|
|
|
|
@end
|
|
|
|
@interface RNSScreenContainerView :
|
|
#ifdef RCT_NEW_ARCH_ENABLED
|
|
RCTViewComponentView <RNSScreenContainerDelegate>
|
|
#else
|
|
UIView <RNSScreenContainerDelegate, RCTInvalidating>
|
|
#endif
|
|
|
|
@property (nonatomic, retain) UIViewController *controller;
|
|
@property (nonatomic, retain) NSMutableArray *reactSubviews;
|
|
|
|
- (void)maybeDismissVC;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|