react-native-navigation的迁移库

Color.m 356B

123456789101112131415161718192021222324
  1. #import "Color.h"
  2. @interface Color()
  3. @property (nonatomic, retain) UIColor* value;
  4. @end
  5. @implementation Color
  6. - (instancetype)initWithValue:(UIColor *)value {
  7. return [super initWithValue:value];
  8. }
  9. - (UIColor *)get {
  10. return self.value;
  11. }
  12. - (UIColor *)getWithDefaultValue:(id)defaultValue {
  13. return [super getWithDefaultValue:defaultValue];
  14. }
  15. @end