2024-10-29 07:36:43 +00:00
|
|
|
#ifdef RCT_NEW_ARCH_ENABLED
|
|
|
|
#import <React/RCTViewComponentView.h>
|
|
|
|
#else
|
2024-05-02 15:08:24 +00:00
|
|
|
#import <React/RCTUIManagerObserverCoordinator.h>
|
|
|
|
#import <React/RCTViewManager.h>
|
2024-10-29 07:36:43 +00:00
|
|
|
#endif
|
2024-05-02 15:08:24 +00:00
|
|
|
|
|
|
|
#import "RNSScreenContainer.h"
|
|
|
|
|
2024-10-29 07:36:43 +00:00
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
2024-05-02 15:08:24 +00:00
|
|
|
|
2024-10-29 07:36:43 +00:00
|
|
|
@interface RNSNavigationController : UINavigationController <RNSViewControllerDelegate>
|
2024-05-02 15:08:24 +00:00
|
|
|
|
2024-10-29 07:36:43 +00:00
|
|
|
@end
|
2024-05-02 15:08:24 +00:00
|
|
|
|
2024-10-29 07:36:43 +00:00
|
|
|
@interface RNSScreenStackView :
|
|
|
|
#ifdef RCT_NEW_ARCH_ENABLED
|
|
|
|
RCTViewComponentView <RNSScreenContainerDelegate>
|
|
|
|
#else
|
|
|
|
UIView <RNSScreenContainerDelegate, RCTInvalidating>
|
|
|
|
#endif
|
2024-05-02 15:08:24 +00:00
|
|
|
|
|
|
|
- (void)markChildUpdated;
|
|
|
|
- (void)didUpdateChildren;
|
2024-10-29 07:36:43 +00:00
|
|
|
- (void)startScreenTransition;
|
|
|
|
- (void)updateScreenTransition:(double)progress;
|
|
|
|
- (void)finishScreenTransition:(BOOL)canceled;
|
|
|
|
|
|
|
|
@property (nonatomic) BOOL customAnimation;
|
|
|
|
@property (nonatomic) BOOL disableSwipeBack;
|
|
|
|
|
|
|
|
#ifdef RCT_NEW_ARCH_ENABLED
|
|
|
|
#else
|
|
|
|
@property (nonatomic, copy) RCTDirectEventBlock onFinishTransitioning;
|
|
|
|
#endif // RCT_NEW_ARCH_ENABLED
|
2024-05-02 15:08:24 +00:00
|
|
|
|
|
|
|
@end
|
|
|
|
|
|
|
|
@interface RNSScreenStackManager : RCTViewManager <RCTInvalidating>
|
|
|
|
|
|
|
|
@end
|
2024-10-29 07:36:43 +00:00
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_END
|