I know about the NodeJS addon API and its bindings for Swift and Object-C, but how can I practically use it during MacOS native development?
For example, I've created an Xcode project and implemented all native stuff I need like widgets and a preference pane. How to connect it to Electron?