CoreOffice / XMLCoder

Easy XML parsing using Codable protocols in Swift
https://coreoffice.github.io/XMLCoder/
MIT License
795 stars 107 forks source link

Decode into Existing Object #211

Open peterent opened 3 years ago

peterent commented 3 years ago

If I instantiate a Codable object, is there way to decode into that specific instance, rather than supplying the Type?

try? decoder.decode(into: myCodableObject)

Regards Peter