refactor: rename ios/ source folder to apple/

This commit is contained in:
Adam Gleitman
2020-11-25 16:31:39 -08:00
parent 839ccd1908
commit a56d22a985
139 changed files with 2 additions and 2 deletions
+32
View File
@@ -0,0 +1,32 @@
#import "RNSVGUIKit.h"
#ifndef RNSVGLength_h
#define RNSVGLength_h
// https://www.w3.org/TR/SVG/types.html#InterfaceSVGLength
typedef CF_ENUM(unsigned short, RNSVGLengthUnitType) {
SVG_LENGTHTYPE_UNKNOWN,
SVG_LENGTHTYPE_NUMBER,
SVG_LENGTHTYPE_PERCENTAGE,
SVG_LENGTHTYPE_EMS,
SVG_LENGTHTYPE_EXS,
SVG_LENGTHTYPE_PX,
SVG_LENGTHTYPE_CM,
SVG_LENGTHTYPE_MM,
SVG_LENGTHTYPE_IN,
SVG_LENGTHTYPE_PT,
SVG_LENGTHTYPE_PC,
};
@interface RNSVGLength : NSObject
@property (nonatomic, assign) CGFloat value;
@property (nonatomic, assign) RNSVGLengthUnitType unit;
+ (instancetype) lengthWithNumber: (CGFloat) number;
+ (instancetype) lengthWithString: (NSString *) lengthString;
- (BOOL) isEqualTo: (RNSVGLength *)other;
@end
#endif /* RNSVGLength_h */