Bidirectional data exchange between macOS Bundles (swift)
问题 How can I pass data between macOS Bundles? eg: MyApp.app sends data to a function or class initialiser in MyBundle.bundle, which performs its own logic on it. It could even return a value, which MyApp.app can then process further. Fo example, a function in MyBundle (not nested in any other declaration): void initialise(unsigned int frameCount) {…} // not a class initialiser btw I have tried: Declaring a class in MyBundle and then loading it in MyApp using Foundation.Bundle : let class =