apiKey property

Class: ConfigurationPlatform: ImagesAppKitLanguage: Objective-C SDK:

Use this property to set and retrieve your Eyes license key.

To obtain your API key, see How to obtain your API key.


Call syntax

NSString* configval; // give relevant initial value
config.apiKey  = configval
configval = config.apiKey


 (copy, nonatomic) NSString *apiKey


A string that is your API Key.


Set this immediately after the Eyes object is created (before calling openWithApplicationName). If you have an environment variable called APPLITOOLS_API_KEY that is set to the value of your API key, then you do not need to call this method, and Eyes will take the string from the environment value.