react-native-navigation的迁移库

SideMenuOpenGestureModeParser.m 375B

1234567891011
  1. #import "SideMenuOpenGestureModeParser.h"
  2. #import "RCTConvert+SideMenuOpenGestureMode.h"
  3. @implementation SideMenuOpenGestureModeParser
  4. + (SideMenuOpenMode *)parse:(NSDictionary *)json key:(NSString *)key {
  5. return json[key] ? [[SideMenuOpenMode alloc] initWithValue:@([RCTConvert MMOpenDrawerGestureMode:json[key]])] : [[SideMenuOpenMode alloc] initWithValue:nil];
  6. }
  7. @end