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
For Swift 5:
@objc
public
NSObject
Put #import "MyProject-Swift.h" in your Objective-C file
#import "MyProject-Swift.h"
@objc public class MyClass: NSObject { @objc public func myMethod() { } }