Introducing Resilient Decoding

Yeah, it is a bit tricky, but I think it flows logically when you think about what the synthesized init(from:) would look like if it were just written out directly. The closest thing I’ve seen to documentation was this comment in the Swift source code. I’m exploring easing more of the restrictions around this pattern in this thread.

1 Like