newsmemory-ios-sdk/Frameworks/RNScreens.xcframework/ios-arm64/Headers/RNSScreenContainer.h

46 lines
829 B
C
Raw Normal View History

2024-10-29 07:36:43 +00:00
#ifdef RCT_NEW_ARCH_ENABLED
#import <React/RCTViewComponentView.h>
#else
#endif
2024-05-02 15:08:24 +00:00
#import <React/RCTViewManager.h>
2024-10-29 07:36:43 +00:00
NS_ASSUME_NONNULL_BEGIN
2024-05-02 15:08:24 +00:00
@protocol RNSScreenContainerDelegate
- (void)markChildUpdated;
- (void)updateContainer;
@end
2024-10-29 07:36:43 +00:00
@protocol RNSViewControllerDelegate
2024-05-02 15:08:24 +00:00
@end
2024-10-29 07:36:43 +00:00
@interface RNSViewController : UIViewController <RNSViewControllerDelegate>
2024-05-02 15:08:24 +00:00
- (UIViewController *)findActiveChildVC;
@end
@interface RNSScreenContainerManager : RCTViewManager
@end
2024-10-29 07:36:43 +00:00
@interface RNSScreenContainerView :
#ifdef RCT_NEW_ARCH_ENABLED
RCTViewComponentView <RNSScreenContainerDelegate>
#else
UIView <RNSScreenContainerDelegate, RCTInvalidating>
#endif
2024-05-02 15:08:24 +00:00
@property (nonatomic, retain) UIViewController *controller;
@property (nonatomic, retain) NSMutableArray *reactSubviews;
- (void)maybeDismissVC;
@end
2024-10-29 07:36:43 +00:00
NS_ASSUME_NONNULL_END