iOS Charting Documentation - SciChart iOS Charts SDK v3.x

Integrating SciChart libraries

In this article we are going to show different approaches off integrating SciChart library into your iOS Application:

Integrating SciChart manually

After you have downloaded and unzipped the SciChart iOS Trial package, you can find SciChart.framework in it.

Now, let’s link SciChart.framework. To do this we need to add framework file in Frameworks, Libraries, and Embedded Content section of your target. Follow these steps to do that:

  • Click on your Project in Navigator and select its target
  • In the General tab scroll right to the bottom
  • Click on + in the Frameworks, Libraries, and Embedded Content section
  • Click on Add others… button in appeared dialog
  • Select the framework file

Add SciChart.framework

Keep the framework file in the same folder

We suggest you to copy the framework file into your project’s folder, and then link the framework file. This will help you to avoid the situation when you unintentionally moved or deleted the folder where the SciChart.framework file was placed at the beginning.

If you decide not to - don’t forget to set the Frameworks Search Paths property which you can find in Build Settings tab.

Integrating SciChart using CocoaPods

SciChart is available via CocoaPods. We provide a private URL for the Podspec so that you can integrate SciChart with minimum effort, either pinning to a specific version or always getting the latest stable release. If you’re new to CocoaPods, please see CocoaPods Getting Started guide.

To integrate SciChart you will need to add the following into your Podfile:

source 'https://github.com/ABTSoftware/PodSpecs3.x.git'
platform :ios, '8.0'

use_frameworks!
target 'YourTargetName' do
  # Use the latest available Version
  pod 'SciChart'
end

NOTE: You can also use a particular version of SciChart by Specifying pod version, we are highly recommend you to make sure you are using the Latest version of SciChart though.

Once you’ve completed the steps above, run pod install --repo-update

When the new version of SciChart will be released you can easily update it with pod update SciChart

Integrating SciChart using Carthage

SciChart isn’t available via Carthage yet. Please see integrating via CocoaPods or Manually.

Integrating SciChart via Swift Package Manager

SciChart isn’t available via Swift Package Manager yet. Please see integrating via CocoaPods or Manually.

Integrating SciChart using NuGet Package Manager

NuGet is a package manager for Visual Studio and .NET. It allows you to add a reference to a DLL and download it from the cloud. There is no need to keep DLLs in version control or install them on local disk. You can download them on-demand and link against them during your build process.

In order to get SciChart libraries, you should connect to our Private Feed. SciChart provides 2 feeds:

NOTE: *.nupkg files can be unzipped if you rename them as zip. They contain the SciChart DLLs. So, even if you are not using NuGet, you can get our nightly builds by clicking the download button on the gallery page and unzipping the package.

After adding the desired feed from the above ou should have something like below in your Visual Studio:

SciChart NuGet Feed

From here do the following steps:

  • Right Click on your Project in the Solution Navigator
  • Click on Manage NuGet Packages…
  • Make sure SciChart feed is selected (alternatively All Sources can be selected)
  • Search for SciChart
  • Find SciChart.iOS and click Add Package
  • Finally - Accept License

Add SciChart.iOS NuGet Package

That’s it. You are good to go.