Ios swift – Parsing XML self closing tags in Swift
I have an XML file that has the following data: <Book> <title>Some Random Book</title> <author>Someone Someone</author> <book_type> <FICT /> <REF /> </book_type> </Book> I'm trying to write a struct for it, but I'm not sure how to deal with the…