Creates a JavaScript implementation compatible with the signature of method, where fn is used as the implementation. Returns a NativeCallback that you may assign to an ObjC method’s implementation property.
method
fn
NativeCallback
implementation
Method to implement.
Implementation.
Generated using TypeDoc
Creates a JavaScript implementation compatible with the signature of
method, wherefnis used as the implementation. Returns aNativeCallbackthat you may assign to an ObjC method’simplementationproperty.