Pre loader

Getting Started with SCICHART iOS v3

Categories

Getting Started with SCICHART iOS v3

Let’s get started with SciChart iOS!

Quickest of the Quick Start Guides

Ok so you’ve downloaded and unzipped the SciChart iOS v3 SDK. Great! Now what?

Check out this Quickest of the QuickStart Guide below which shows you how to open the Examples Suite, work through the tutorials and see what SciChart can do.

1. Starting a SciChart iOS Trial

In previous versions of SciChart iOS, you could download the framework from Cocoapods or our website and it would ‘just work’ for 30 days. With the release of SciChart iOS v3 we have introduced a new cross-platform licensing mechanism which is common to all our platforms.

1. Donwload the Licensing Wizard

To get started, download and install the SciChart Cross Platform Licensing Wizard to your Mac Desktop.

Download Licensing Wizard Mac
2. Log in

Next log in using your SciChart.com username and password (Create one).


3. Start a Trial

Click ‘Start Trial’ on the Trials page for iOS.


4. Apply a trial Key

Apply the trial to your application by viewing the KeyCode on the Licensing Wizard.

The KeyCode must be set in your app once, and once only before any SciChartSurface instance is shown. Do this by calling the static SciChartSurface.SetRuntimeLicenseKey() method in AppDelegate.

Code samples below:

//
//  AppDelegate.swift
//  SciChartSwiftDemo
//
 
import UIKit
import SciChart

@UIApplicationMain

class SCSAppDelegate: UIResponder, UIApplicationDelegate {

 var window: UIWindow?

 func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {

        // Note! This is just an example. 
        // The real License KeyCode is found by following steps above
        SCIChartSurface.setRuntimeLicenseKey("YOUR_KEYCODE")
 
        return true
 }

}
//
//  AppDelegate.m
//  SciChartDemo
//
 
#import "AppDelegate.h"
#import "SCDConstants.h"
 
// NOTE: Import SciChart.h 
#import <SciChart/SciChart.h> 
 
@interface AppDelegate ()
 
@end
 
@implementation AppDelegate
 
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
     
    // Note! This is just an example. 
    // The real License KeyCode is found by following steps above
    [SCIChartSurface setRuntimeLicenseKey:@"YOUR_KEYCODE"];
     
    //...    
    return YES;
}
 
@end
using Foundation;
using UIKit;
using SciChart;

namespace XamarinTestingLicensing
{
    // The UIApplicationDelegate for the application. This class is responsible for launching the
    // User Interface of the application, as well as listening (and optionally responding) to application events from iOS.
    [Register("AppDelegate")]
    public class AppDelegate : UIApplicationDelegate
    {
        // class-level declarations

        public override UIWindow Window
        {
            get;
            set;
        }

        public override bool FinishedLaunching(UIApplication application, NSDictionary launchOptions)
        {
            // Override point for customization after application launch.
            // If not required for your application you can safely delete this method
 
            SciChart.iOS.Charting.SCIChartSurface.SetRuntimeLicenseKey("YOUR_KEYCODE");

            return true;
        }
    }
}

Take a moment to start a trial now, so that you can get working as soon as possible.

Note, if you have purchased a paid license, then head over to Licensing SciChart iOS to learn how to activate and use it.

During your trial of SciChart iOS we will gladly answer your technical questions about the chart. After the trial expires, you may purchase a support subscription to maintain access to technical support & to continue developing with SciChart

Thanks, and enjoy!
[SciChart Team]

By Julia Skorobogata | Jan 06, 2020
I contribute to the growth and development of SciChart, assisting my team with sales, marketing, and project management.

Leave a Reply

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies