SciChart.iOS Examples
Examples and Tutorials for SciChart.iOS: High Performance Realtime iOS Chart Library
Repository Contents:
In Examples directory you'll find a simple example app which showcases all the built-in features of SciChart framework, and also demonstrates some customizations.
SciChart iOS Comes with a number of tutorials to help you get started quickly using our powerful & flexible chart library! In Tutorials/tutorials-2d directory you'll find the final projects for all the SciChart 2D Tutorials, same for the 3D Tutorials - which are located in Tutorials/tutorials-3d.
iOS Chart Examples are provided in Objective-C & Swift. If you are looking for other platforms then please see here:
- Android Charts (Java / Kotlin)
- WPF Charts (C# / WPF)
- Xamarin Charts (C#)
How to use this repository
Examples and Tutorials projects are linked with SciChart via Cocoapods. So in order to test and run examples suite you need to have cocoapods installed. This can be done by typing a simple command in terminal:
[sudo] gem install cocoapods
Build Examples
Our examples project named SciChartDemo. So If you have installed cocoapods you can simply link SciChartDemo project with SciChart.framework via cocoapods using the following terminal commands:
cd YourRepositoryRoot/Examples
pod install --repo-update
In case of successful installation of CocoaPods, you'll see the generated SciChart.iOS.Examples.xcworkspace, which links an SciChartDemo.xcproject with SciChart.framework:
Open a workspace and build "SciChartDemo" scheme, you can now run and test all the examples you provide.
Build Tutorials
SciChart iOS Comes with a number of tutorials to help you get started quickly using our powerful & flexible chart library! Please see below:
The process of building tutorials is quite similar. Just note, that there are two sub-folders in "Tutorials" directory. And separate podfile in each sub-folder ("tutorials-2d and tutorials-3d"). All you need to do is run "pod install" command from the directory where corresponding Podfile
is located:
cd YourRepositoryRoot/Tutorials/tutorials-2d
pod install --repo-update
In case of tutorials, workspace contains a separate scheme for each tutorial. Just select the scheme you want to try - build and run: