1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 | #if __has_include(<React/RCTBridgeModule.h>)
|
10 | #import <React/RCTBridgeModule.h>
|
11 | #else
|
12 | #import "RCTBridgeModule.h"
|
13 | #endif
|
14 | #if __has_include(<React/RCTLog.h>)
|
15 | #import <React/RCTLog.h>
|
16 | #else
|
17 | #import "RCTLog.h"
|
18 | #endif
|
19 |
|
20 | FOUNDATION_EXPORT NSString *const RNVIErrorDomain;
|
21 |
|
22 | enum {
|
23 | RNVIGenericError = 1000,
|
24 | };
|
25 |
|
26 | @interface RNVectorIconsManager : NSObject <RCTBridgeModule>
|
27 |
|
28 | - (NSString *)hexStringFromColor:(UIColor *)color;
|
29 | - (NSString *)generateFilePath:(NSString *)glyph withFontName:(NSString *)fontName
|
30 | withFontSize:(CGFloat)fontSize
|
31 | withColor:(UIColor *)color
|
32 | withExtraIdentifier:(NSString *)identifier;
|
33 | - (BOOL)createAndSaveGlyphImage:(NSString *)glyph withFont:(UIFont *)font
|
34 | withFilePath:(NSString *)filePath
|
35 | withColor:(UIColor *)color;
|
36 |
|
37 | @end
|