EngineKit
JSContext(Extension) Category Reference

Class Methods

(JSContext *) + shared
 

Method Documentation

+ (JSContext *) shared

The instance of JSContext meant to be used throughout the appication.

Note
If ever multiple JS files are used, one might consider creating some type of Manager class to manage the multiple contexts that might be needed.
Returns
A singleton instance of JSContext.

The documentation for this category was generated from the following files: