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
, wherefn
is used as the implementation. Returns aNativeCallback
that you may assign to an ObjC method’simplementation
property.