react-native-navigation的迁移库

RNNSideMenuSideOptions.m 414B

12345678910111213141516171819
  1. #import "RNNSideMenuSideOptions.h"
  2. @implementation RNNSideMenuSideOptions
  3. - (instancetype)initWithDict:(NSDictionary *)dict {
  4. self = [super init];
  5. self.visible = [BoolParser parse:dict key:@"visible"];
  6. self.enabled = [BoolParser parse:dict key:@"enabled"];
  7. self.width = [DoubleParser parse:dict key:@"width"];
  8. self.animationType = [TextParser parse:dict key:@"animationType"];
  9. return self;
  10. }
  11. @end