JSClassCreate(_:)
Creates a JavaScript class.
Declaration
func JSClassCreate(_ definition: UnsafePointer<JSClassDefinition>!) -> JSClassRef!Parameters
- definition:
A Jsclassdefinition that defines the class.
Return Value
A JSClassRef with the specified definition suitable for use with JSObjectMake(_:_:_:). Ownership follows The Create Rule.