react-native-navigation的迁移库

RNNLargeTitleOptions.m 403B

1234567891011121314151617
  1. #import "RNNLargeTitleOptions.h"
  2. @implementation RNNLargeTitleOptions
  3. - (instancetype)initWithDict:(NSDictionary *)dict {
  4. self = [super init];
  5. self.fontSize = [NumberParser parse:dict key:@"fontSize"];
  6. self.visible = [BoolParser parse:dict key:@"visible"];
  7. self.color = [ColorParser parse:dict key:@"color"];
  8. self.fontFamily = [TextParser parse:dict key:@"fontFamily"];
  9. return self;
  10. }
  11. @end