react-native-navigation的迁移库

RNNInterpolator.h 483B

12345678910111213
  1. #import <Foundation/Foundation.h>
  2. #import "RCTConvert+Interpolation.h"
  3. @interface RNNInterpolator : NSObject
  4. + (UIColor *)fromColor:(UIColor *)fromColor toColor:(UIColor *)toColor precent:(CGFloat)precent;
  5. + (CGFloat)fromFloat:(CGFloat)from toFloat:(CGFloat)to precent:(CGFloat)precent interpolation:(RNNInterpolationOptions)interpolation;
  6. + (CGRect)fromRect:(CGRect)from toRect:(CGRect)toRect precent:(CGFloat)precent interpolation:(RNNInterpolationOptions)interpolation;
  7. @end