SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components

In order to license SciChart for iOS and unlock all its features, there is a simple procedure which must be followed. Without this you won’t be able to compile and debug applications built with SciChart iOS. Licenses are unique to all SciChart products, so licenses for another products cannot be used for SciChart iOS Charts and vice versa.

// Where is my License?

Trial Keys
Please login to start a trial or retrieve your key.   Click here to login or create account
Purchased License Keys

If you have purchased SciChart iOS, you should have received a confirmation e-mail with a license XML and serial key. You can also view purchased license keys and serials in your Profile Page. If you don’t have one, please contact SciChart Sales

SciChart Licensing Email Examplef

SciChart Licensing Email Example

// Applying the License

The license file contains an XML fragment in the following format:

<!-- Note! This is just an example. The real License Contract is found by following steps above-->
<licensecontract>
  <customer>testcustomer@testing.com</customer>
  <orderid>ABT-123-456</orderid>
  <licensecount>1</licensecount>
  <supportexpires>07/30/2017 00:00:00</supportexpires>
  <productcode>SC-IOS-2D-ENTERPRISE-SRC</productcode>
  <keycode>d594ae9c98d87f5050799d7df7ba31bb4e2922e30c2a5c49a6ec39efb659392e425....</keycode>
</licensecontract>

The license file contains your company name and order ID, as well as an encrypted key to validate the license. If any of these details are changed, the license will no longer function correctly. Please keep your license file safe as it is unique to your organisation and key-codes contain encrypted information which can be used to identify the customer.

To apply the License, you have to call the static setRuntimeLicenseKey() method somewhere, e.g. in AppDelegate.m file or AppDelegate.swift file in your app.

Applying the License in Swift 2.3

//
//  AppDelegate.swift
//  SciChartSwiftDemo
//
 
import UIKit
import SciChart
 
@UIApplicationMain
 
class SCSAppDelegate: UIResponder, UIApplicationDelegate {
 
    var window: UIWindow?
 
    func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
 
        // Note! This is just an example. 
        // The real License Contract is found by following steps above
        let licencing:String = "<LicenseContract>" +
            "<Customer>you@yourcompany.com</Customer>" +
            "<OrderId></OrderId>" +
            "<LicenseCount>1</LicenseCount>" +
            "<IsTrialLicense>true</IsTrialLicense>" +
            "<SupportExpires>07/30/2016 00:00:00</SupportExpires>" +
            "<ProductCode>SC-IOS-2D-ENTERPRISE-SRC</ProductCode>" +
            "<KeyCode>8b12ae43a224ad73c53...</KeyCode>" +
        "</LicenseContract>"
             
        SCIChartSurface.setRuntimeLicenseKey(licencing)
         
        return true
    }
}

Applying the License in Swift 3

//
//  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 Contract is found by following steps above
        let licencing:String = "<LicenseContract>" +
            "<Customer>you@yourcompany.com</Customer>" +
            "<OrderId></OrderId>" +
            "<LicenseCount>1</LicenseCount>" +
            "<IsTrialLicense>true</IsTrialLicense>" +
            "<SupportExpires>07/30/2016 00:00:00</SupportExpires>" +
            "<ProductCode>SC-IOS-2D-ENTERPRISE-SRC</ProductCode>" +
            "<KeyCode>8b12ae43a224ad73c53...</KeyCode>" +
        "</LicenseContract>"
             
        SCIChartSurface.setRuntimeLicenseKey(licencing)
 
        return true
 }

}
Applying the License in Objective-C

//
//  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 Contract is found by following steps above
    [SCIChartSurface setRuntimeLicenseKey:@""
      
     "<LicenseContract>"
     "<Customer>you@yourcompany.com</Customer>"
     "<OrderId></OrderId>"
     "<LicenseCount>1</LicenseCount>"
     "<IsTrialLicense>true</IsTrialLicense>"
     "<SupportExpires>07/30/2016 00:00:00</SupportExpires>"
     "<ProductCode>SC-IOS-2D-ENTERPRISE-SRC</ProductCode>"
     "<KeyCode>8b12ae43a224ad73c5327abe91eb0d13...</KeyCode>"
     "</LicenseContract>"
 
     ];
     
    //...    
    return YES;
}
 
@end
Applying the License in Xamarin.iOS

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

            var licensingContract = "<LicenseContract>" +
            "<Customer>test</Customer>" +
            "<OrderId>full</OrderId>" +
            "<LicenseCount>1</LicenseCount>" +
            "<IsTrialLicense>false</IsTrialLicense>" +
            "<SupportExpires>06/01/2017 00:00:00</SupportExpires>" +
            "<ProductCode>SC-IOS-2D-ENTERPRISE-SRC</ProductCode>" +
            "<KeyCode>30efd52...</KeyCode>" +
            "</LicenseContract>";
 
            SciChart.iOS.Charting.SCIChartSurface.SetRuntimeLicenseKey(licensingContract);

            return true;
        }
    }
}

// Github Source Code Access

If you are a SciChart iOS Source-Code customers, you can now download the source code via our Github repository. To get access, please follow the steps below:

#1 Register your SciChart License

Go to www.scichart.com/profile. Here you will find your license keys. There are also two boxes to activate an Android or iOS license key.

#1 Register your SciChart License

Enter your developer serial key from your License Certificate email or our Profile page and click activate to register your SciChart license.

Note: You will need to be logged in to scichart to use the profile page. Please log in at or create an account at www.scichart.com/login if you haven’t already

 

#2 Link to Github

Now enter your Github Username in the box directly below. If you do not have a Github account, head over to www.github.com and register.

#3 Respond to Invitation

You will receive an email with an invitation to join the SciChart iOS Github repository! Accept the invitation to get access!

// Troubleshooting

If you cannot manage to get your application working with the license applied, please check out our licensing troubleshooting page or contact us and we will do our best to help.

Comments are closed.