I am trying to import a Swift 3 class in ObjC but I am not able to do it for some reasons. The class is not a UIViewController class and the solutions which I found is perfectly working for View Controller classes but not for Model class. Can anyone help?
open class UserDetails: JSONEncodable {
public var id: Int64?
public var usertoken: String?
public var firstName: String?
public var lastName: String?
public var email: String?
.....
}