As described here , you can use the Swift code from objective-c for the same purpose using
#import <ProductName/ProductModuleName-Swift.h>
Import from an external structure can be done using
@import FrameworkName;
However, this only works when "Enable Modules" is installed. Assuming the Enable Modules option cannot be set to a target that wants to import Swift code, my question is:
Is it possible to make the title ProductModuleName-Swift.hpublicly available so that it can be accessed for other purposes?
source
share