I’m a Objective-C and Swift developer and newbie to electron, so I’m not good at nodes and electron.
I would like to create an app on MacOS with electron. I have a functional library written by Objective-C，and this library is a little large. For lower working load, I want to find a way to reuse this library directly if possible.
I know electron can use nodejs native C++ addon and can work with dynamic-link library written by C++. But my library is written by Objective-C, I’m not sure how can I use a Objective-C library
so I have some questions here:
Q1: Can I use Objective-C on electron directly? If I can, how to do with it?
Q2: If I can’t use Objective-C on electron directly，can I package my library to a dynamic-link library or a static-link library to work with electron? If this is possible, what kind of link library is supported (i.e .dylib / .framework / .a or something else) ?
Q3: Or some other advice you can give to me ? Any advice would be appreciated!