Skip to content

Commit ec6e817

Browse files
author
Burak Akkas
committed
Merge branch 'develop'
2 parents 579b217 + cdd61d1 commit ec6e817

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

README.md

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,12 @@ Library implements a general approach for using PaintCode generated files with R
88
99
> Convert generated Java file to Kotlin file.
1010
11+
> Do not forget to use name "PaintCode" for exported classes.
12+
1113
2. Place exported PaintCode files into projects root folders.
1214

13-
3. Install the library from NPM
14-
15-
```sh
16-
$ yarn add react-native-tref-paint-code
17-
```
15+
3. Install the library from NPM, by following instructions on latest package:
16+
https://github.com/ReferenceArmada/react-native-tref-paint-code/packages/
1817

1918
4. Install dependencies for iOS project
2019

@@ -23,8 +22,6 @@ $ cd ios
2322
$ pod install
2423
```
2524

26-
> Do not forget to add **use_frameworks!** on the top of the podfile.
27-
2825
5. On native Android project, open **MainApplication.java** file and add following to the file:
2926

3027
```java
@@ -62,7 +59,7 @@ import {TrefPaintCode,
6259
TrefPaintCodeType,
6360
TrefPaintCodeResizingBehaviour,
6461
TrefPaintCodeHelper}
65-
from 'react-native-tref-paint-code';
62+
from '@referencearmada/react-native-tref-paint-code';
6663
```
6764

6865
2. Use **TrefPaintCode** component in views.

ios/DrawerEngine.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#import <Foundation/Foundation.h>
1010
#import "DrawerEngine.h"
1111
#import <objc/runtime.h>
12-
#import "react_native_tref_paint_code/react_native_tref_paint_code-Swift.h"
12+
#import "TrefPaintCode-Swift.h"
1313

1414
@implementation DrawerEngine
1515

ios/TrefPaintCode.xcodeproj/project.pbxproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,7 @@
259259
PRODUCT_NAME = "react_native_tref_paint_code-Swift.h";
260260
SKIP_INSTALL = YES;
261261
SWIFT_OBJC_BRIDGING_HEADER = "TrefPaintCode-Bridging-Header.h";
262+
SWIFT_OBJC_INTERFACE_HEADER_NAME = "TrefPaintCode-Swift.h";
262263
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
263264
SWIFT_VERSION = 5.0;
264265
};
@@ -281,6 +282,7 @@
281282
PRODUCT_NAME = "react_native_tref_paint_code-Swift.h";
282283
SKIP_INSTALL = YES;
283284
SWIFT_OBJC_BRIDGING_HEADER = "TrefPaintCode-Bridging-Header.h";
285+
SWIFT_OBJC_INTERFACE_HEADER_NAME = "TrefPaintCode-Swift.h";
284286
SWIFT_VERSION = 5.0;
285287
};
286288
name = Release;

0 commit comments

Comments
 (0)