File tree 3 files changed +6
-9
lines changed 3 files changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -10,11 +10,8 @@ Library implements a general approach for using PaintCode generated files with R
10
10
11
11
2 . Place exported PaintCode files into projects root folders.
12
12
13
- 3 . Install the library from NPM
14
-
15
- ``` sh
16
- $ yarn add react-native-tref-paint-code
17
- ```
13
+ 3 . Install the library from NPM, by following instructions on latest package:
14
+ https://github.com/ReferenceArmada/react-native-tref-paint-code/packages/
18
15
19
16
4 . Install dependencies for iOS project
20
17
@@ -23,8 +20,6 @@ $ cd ios
23
20
$ pod install
24
21
```
25
22
26
- > Do not forget to add ** use_frameworks!** on the top of the podfile.
27
-
28
23
5 . On native Android project, open ** MainApplication.java** file and add following to the file:
29
24
30
25
``` java
@@ -62,7 +57,7 @@ import {TrefPaintCode,
62
57
TrefPaintCodeType ,
63
58
TrefPaintCodeResizingBehaviour ,
64
59
TrefPaintCodeHelper }
65
- from ' react-native-tref-paint-code' ;
60
+ from ' @referencearmada/ react-native-tref-paint-code' ;
66
61
```
67
62
68
63
2 . Use ** TrefPaintCode** component in views.
Original file line number Diff line number Diff line change 9
9
#import < Foundation/Foundation.h>
10
10
#import " DrawerEngine.h"
11
11
#import < objc/runtime.h>
12
- #import " react_native_tref_paint_code/react_native_tref_paint_code -Swift.h"
12
+ #import " TrefPaintCode -Swift.h"
13
13
14
14
@implementation DrawerEngine
15
15
Original file line number Diff line number Diff line change 259
259
PRODUCT_NAME = "react_native_tref_paint_code-Swift.h";
260
260
SKIP_INSTALL = YES;
261
261
SWIFT_OBJC_BRIDGING_HEADER = "TrefPaintCode-Bridging-Header.h";
262
+ SWIFT_OBJC_INTERFACE_HEADER_NAME = "TrefPaintCode-Swift.h";
262
263
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
263
264
SWIFT_VERSION = 5.0;
264
265
};
281
282
PRODUCT_NAME = "react_native_tref_paint_code-Swift.h";
282
283
SKIP_INSTALL = YES;
283
284
SWIFT_OBJC_BRIDGING_HEADER = "TrefPaintCode-Bridging-Header.h";
285
+ SWIFT_OBJC_INTERFACE_HEADER_NAME = "TrefPaintCode-Swift.h";
284
286
SWIFT_VERSION = 5.0;
285
287
};
286
288
name = Release;
You can’t perform that action at this time.
0 commit comments