objc icon indicating copy to clipboard operation
objc copied to clipboard

revised API and implementation

Open hhas opened this issue 2 years ago • 0 comments

  • significantly improves performance by caching parse method types and wrapper functions on first use
  • JS<->ObjC type bridging is fully integrated with ref-napi's JS<->C type descriptors and uses ObjC-style type encoding strings throughout
  • redesigned APIs for creating blocks, structs, subclasses, and inout arguments
  • ns, js functions support custom handling of unconverted values
  • updated example scripts and documentation

TO DO:

  • inout arguments in blocks and subclass methods
  • array, union, bitwise types
  • update test.js
  • optionally replace ffi-napi with C++ extension to improve performance
  • clean up code comments

hhas avatar Mar 10 '22 16:03 hhas