I am working on an iOS project in Swift. I used Moya framework for API handling and parsing. It works perfectly. But when I try to parse varibles other than string it shows me en error:
"Missing argument for parameter 'transformation' in call"
Here is my mapper class
import Mapper
class MyMapperClaa:Mappable {
var dateVariable: NSDate?
required init(map: Mapper) throws{
try dateVariable = map.from("date")
}
}