Skip to content

Commit 9a72ff2

Browse files
author
Burak Akkas
committed
Update headers, readme
1 parent 3ec7922 commit 9a72ff2

File tree

3 files changed

+6
-9
lines changed

3 files changed

+6
-9
lines changed

README.md

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,8 @@ Library implements a general approach for using PaintCode generated files with R
1010
1111
2. Place exported PaintCode files into projects root folders.
1212

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/
1815

1916
4. Install dependencies for iOS project
2017

@@ -23,8 +20,6 @@ $ cd ios
2320
$ pod install
2421
```
2522

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

3025
```java
@@ -62,7 +57,7 @@ import {TrefPaintCode,
6257
TrefPaintCodeType,
6358
TrefPaintCodeResizingBehaviour,
6459
TrefPaintCodeHelper}
65-
from 'react-native-tref-paint-code';
60+
from '@referencearmada/react-native-tref-paint-code';
6661
```
6762

6863
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)