1 | #ifdef RCT_NEW_ARCH_ENABLED
|
2 | #import <React/RCTViewComponentView.h>
|
3 | #else
|
4 | #import <React/RCTUIManagerObserverCoordinator.h>
|
5 | #import <React/RCTViewManager.h>
|
6 | #endif
|
7 |
|
8 | #import "RNSScreenContainer.h"
|
9 |
|
10 | NS_ASSUME_NONNULL_BEGIN
|
11 |
|
12 | @interface RNSNavigationController : UINavigationController <RNSViewControllerDelegate>
|
13 |
|
14 | @end
|
15 |
|
16 | @interface RNSScreenStackView :
|
17 | #ifdef RCT_NEW_ARCH_ENABLED
|
18 | RCTViewComponentView <RNSScreenContainerDelegate>
|
19 | #else
|
20 | UIView <RNSScreenContainerDelegate, RCTInvalidating>
|
21 | #endif
|
22 |
|
23 | - (void)markChildUpdated;
|
24 | - (void)didUpdateChildren;
|
25 | - (void)startScreenTransition;
|
26 | - (void)updateScreenTransition:(double)progress;
|
27 | - (void)finishScreenTransition:(BOOL)canceled;
|
28 |
|
29 | @property (nonatomic) BOOL customAnimation;
|
30 | @property (nonatomic) BOOL disableSwipeBack;
|
31 |
|
32 | #ifdef RCT_NEW_ARCH_ENABLED
|
33 | #else
|
34 | @property (nonatomic, copy) RCTDirectEventBlock onFinishTransitioning;
|
35 | #endif
|
36 |
|
37 | @end
|
38 |
|
39 | @interface RNSScreenStackManager : RCTViewManager <RCTInvalidating>
|
40 |
|
41 | @end
|
42 |
|
43 | NS_ASSUME_NONNULL_END
|