-
-
Notifications
You must be signed in to change notification settings - Fork 643
Expand file tree
/
Copy pathRNSScreenStack.h
More file actions
55 lines (38 loc) · 1.48 KB
/
RNSScreenStack.h
File metadata and controls
55 lines (38 loc) · 1.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#pragma once
#import "RNSReactBaseView.h"
#import "RNSScreenContainer.h"
#import "RNSTabsSpecialEffectsSupporting.h"
#if !TARGET_OS_TV
#import "RNSOrientationProviding.h"
#endif // !TARGET_OS_TV
NS_ASSUME_NONNULL_BEGIN
@interface RNSNavigationController : UINavigationController <
RNSViewControllerDelegate,
RNSTabsSpecialEffectsSupporting
#if !TARGET_OS_TV
,
RNSOrientationProviding
#endif // !TARGET_OS_TV
>
@end
@interface RNSScreenStackView : RNSReactBaseView <RNSScreenContainerDelegate>
- (void)markChildUpdated;
- (void)didUpdateChildren;
- (void)startScreenTransition;
- (void)updateScreenTransition:(double)progress;
- (void)finishScreenTransition:(BOOL)canceled;
@property (nonatomic) BOOL customAnimation;
@property (nonatomic) BOOL disableSwipeBack;
@end
#pragma mark-- Integration
@interface RNSScreenStackView ()
/**
* \return Arrray with ids of screens owned by this stack. Ids are returned in no particular order. The list might be
* empty. The strings inside the list are nullable if the screen has not been assigned an ID.
*/
@property (nonatomic, readonly, nonnull) NSArray<NSString *> *screenIds;
@property (nonatomic, strong, readonly, nullable) UIColor *nativeContainerBackgroundColor;
@end
@interface RNSScreenStackManager : RCTViewManager
@end
NS_ASSUME_NONNULL_END