I try to integrate Swift code in my app.My app is written in Objective-C and I added a Swift class. I\'ve done everything described he
Swift
Objective-C
Make sure your project defines a module and you have given a name to the module. Then rebuild, and Xcode will create the -Swift.h header file and you will be able to import.
-Swift.h
You can set module definition and module name in your project settings.