ChartIQ-iOS-SDK

Native iOS SDK for the ChartIQ JavaScript library.

The ChartIQ iOS SDK supports a basic charting application. The SDK can be extended to support more elaborate implementations by adding code to invoke ChartIQ library functions directly or by creating a bridge file similar to nativeSdkBridge.js (in the mobile/js folder of your ChartIQ library).

Contact us at support@chartiq.com to request sample code and guidance on how to extend the SDK.

Requirements

Version

Version 8.8.0 or later of the ChartIQ library

For previous version support, please refer to the Releases section.

Go to our download site to obtain a free 30-day trial version of the library, or send us an email at info@cosaic.io, and we’ll send you an evaluation version.

  • iOS 10.3 or later (iOS 11.0 or later if you are installing with Swift Package Manager)

App

The Demo folder of this repository contains an app that was built using the SDK. Customize the app to quickly create your own iOS charting application.

The app is also available on the Apple Store.

App screen shots

Candle chart Mountain chart with drawings Symbol lookup

End of legacy app support

The iOS app has been totally reengineered for improved usability and functionality. As a result, there is no upgrade path from the legacy app (which is compatible with ChartIQ versions 7.0.5–7.5.0) to the new app/SDK. To take advantage of the major improvements offered by the new mobile app, upgrade to Version 8.2.0 or later of the library and reimplement any custom functionality from your legacy app in the new app.

End of ChartIQ feature upgrades As of ChartIQ version 8.8.0, only the ChartIQDemo app will be updated with the latest ChartIQ features. ChartIQTabBarDemo will still be supported but not have the latest released features integrated into the demo.

Getting started

See the Getting Started on Mobile: iOS tutorial for instructions on installing the app and using the SDK.

Swift Package Manager

The Swift Package Manager is a tool for automating the distribution of Swift code and is integrated into the swift compiler.

Adding to your package

Once you have your Swift package set up, adding ChartIQ as a dependency is as easy as adding it to the dependencies value of your Package.swift.

dependencies: [
    .package(url: "https://github.com/ChartIQ/ChartIQ-iOS-SDK.git", branch: "master")
]

Adding to your project

To add ChartIQ to your Xcode project, select: File > Add Packages and enter this repository URL.

You can also navigate to your target’s General panel, and in the “Frameworks, Libraries, and Embedded Content” section, click the + button, select Add Other, and choose Add Package Dependency.

Customization

For information on changing the appearance of the app, see our customization tutorial.

API documentation

Questions and support

Contact our development support team at support@chartiq.com.

Contributing to this project

Contribute to this project. Fork it and send us a pull request. We’d love to see what you can do with our charting tools on iOS!