I am using XMLMapper with Alamofire to map a response. So far I can map most of the response, except for the Image and and Duration. Here is a link to the XML RSS Feed: https://belizing.libsyn.com/rss. Any help on how to map the duration and image? This is my data model:
struct Image: XMLMappable {
init?(map: XMLMap) {}
var nodeName: String!
var image: String?
mutating func mapping(map: XMLMap) {
image <- map["image"]
}
}
Here is an example of your XML feed:
And here is a model structure in which you can map it: