forked from wix/react-native-navigation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathScreenAnimationController.h
26 lines (21 loc) · 1.21 KB
/
ScreenAnimationController.h
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
#import "RNNScreenTransition.h"
#import <Foundation/Foundation.h>
#import <React/RCTUIManager.h>
#import <React/RCTUIManagerObserverCoordinator.h>
#import <React/RCTUIManagerUtils.h>
@interface ScreenAnimationController
: NSObject <UIViewControllerTransitioningDelegate, UIViewControllerAnimatedTransitioning,
RCTUIManagerObserver>
- (instancetype)initWithContentTransition:(RNNEnterExitAnimation *)contentTransition
elementTransitions:(NSArray<ElementTransitionOptions *> *)elementTransitions
sharedElementTransitions:
(NSArray<SharedElementTransitionOptions *> *)sharedElementTransitions
duration:(CGFloat)duration
bridge:(RCTBridge *)bridge;
- (NSArray *)createTransitionsFromVC:(UIViewController *)fromVC
toVC:(UIViewController *)toVC
containerView:(UIView *)containerView;
@property(nonatomic, strong) RNNEnterExitAnimation *content;
@property(nonatomic, strong) NSArray<ElementTransitionOptions *> *elementTransitions;
@property(nonatomic, strong) NSArray<SharedElementTransitionOptions *> *sharedElementTransitions;
@end