react-native-navigation的迁移库

RNNScreenTransition.m 436B

123456789101112131415
  1. #import "RNNScreenTransition.h"
  2. @implementation RNNScreenTransition
  3. - (instancetype)initWithDict:(NSDictionary *)dict {
  4. self = [super init];
  5. self.topBar = [[RNNTransitionStateHolder alloc] initWithTransition:dict[@"topBar"]];
  6. self.content = [[RNNTransitionStateHolder alloc] initWithTransition:dict[@"content"]];
  7. self.bottomTabs = [[RNNTransitionStateHolder alloc] initWithTransition:dict[@"bottomTabs"]];
  8. return self;
  9. }
  10. @end