Skip to content

Commit 50ce768

Browse files
authored
Merge pull request #418 from tradingview/update-ios-example
CL-2432: Update Xcode example
2 parents d25bdd3 + 7a48007 commit 50ce768

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

ios-swift/README.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,20 @@
11
# TradingView Charting Library iOS (Swift version) Integration Example
22

3-
Latest tested version of the library with this example is `v28.0.0`.
3+
Latest tested version of the library with this example is `v29.2.0` with Xcode `16.3` and iOS `18.2`.
44

55
## How to start
66

77
1. Check that you can view https://github.com/tradingview/charting_library/. If you do not have access then you can [request access to this repository here](https://www.tradingview.com/HTML5-stock-forex-bitcoin-charting-library/).
88
1. Open Example.xcodeproj in Xcode.
9-
1. Right click on ChartingLibrary folder and select "Add Files to "Example"".
10-
Choose and add all the files inside https://github.com/tradingview/charting_library/. **Note**: Unlike some of the other examples you should copy all files from the repository not just the `datafeeds` and `charting_library` directories.
11-
Select "Create folder references" for the added folders. **Note**: This is important because the library contains files with the same name, but in different folders, so the "Create folder references" option adds files to your application bundle with the same folder structure as in the library.
9+
1. Click on `Example` folder at the very top of the `Project Navigator`.
10+
1. In the inner menu on the left, select `Example` under `TARGETS`.
11+
1. Select the `Build Phases` tab at the top of the window.
12+
1. Under `Copy Bundle Resources` select the `+` icon.
13+
1. Click on `"Add Other..."` button.
14+
1. Browse and identify all the files downloaded from `https://github.com/tradingview/charting_library/`. **Note**: Unlike some of the other examples you should copy all files from the repository not just the `datafeeds` and `charting_library` directories.
15+
1. Select `"Create folder references"`. **Note**: This is important because the library contains files with the same name, but in different folders, so the "Create folder references" option adds files to your application bundle with the same folder structure as in the library.
16+
1. Select all files added to project and move them to the `ChartingLibrary` folder.
17+
1. Lastly, build the application.
1218

1319
## What is Charting Library
1420

0 commit comments

Comments
 (0)