Avatar
Codableに準拠したstructの変数をデフォルト値つきのletでかくと、decodeしても値はデフォルト値なのねという話がTwitterにあった https://twitter.com/khanlou/status/1252174018204950530?s=20 (edited)
@nicklockwood @bjhomer I expected you to be right but I have to got to say I am surprised by these results