|
@@ -1,18 +0,0 @@
|
1
|
|
-#import "RNNAnimationsOptions.h"
|
2
|
|
-
|
3
|
|
-@implementation RNNAnimationsOptions
|
4
|
|
-
|
5
|
|
-- (instancetype)initWithDict:(NSDictionary *)dict {
|
6
|
|
- self = [super init];
|
7
|
|
-
|
8
|
|
- self.push = [[RNNScreenTransition alloc] initWithDict:dict[@"push"]];
|
9
|
|
- self.pop = [[RNNScreenTransition alloc] initWithDict:dict[@"pop"]];
|
10
|
|
- self.showModal = [[RNNScreenTransition alloc] initWithDict:dict[@"showModal"]];
|
11
|
|
- self.dismissModal = [[RNNScreenTransition alloc] initWithDict:dict[@"dismissModal"]];
|
12
|
|
- self.setStackRoot = [[RNNScreenTransition alloc] initWithDict:dict[@"setStackRoot"]];
|
13
|
|
- self.setRoot = [[RNNScreenTransition alloc] initWithDict:dict[@"setRoot"]];
|
14
|
|
-
|
15
|
|
- return self;
|
16
|
|
-}
|
17
|
|
-
|
18
|
|
-@end
|