XMLCoder icon indicating copy to clipboard operation
XMLCoder copied to clipboard

Decode into Existing Object

Open peterent opened this issue 4 years ago • 0 comments

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

peterent avatar Feb 05 '21 14:02 peterent