react-native-navigation的迁移库

RNNModalOptions.m 237B

123456789101112
  1. #import "RNNModalOptions.h"
  2. @implementation RNNModalOptions
  3. - (instancetype)initWithDict:(NSDictionary *)dict {
  4. self = [super init];
  5. self.swipeToDismiss = [BoolParser parse:dict key:@"swipeToDismiss"];
  6. return self;
  7. }
  8. @end