<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">I’m fairly out of touch with Swift these days, but I took a quick look at importing the encodeEncodable/decodeDecodable changes from stdlib into SwiftFoundation.<div class=""><br class=""></div><div class="">I ran into a bunch of bridging issues with the PropertyListDecoder, where it would be balk on the encoded property list types being Foundation instead of Swift types (e.g. “Expected to decode Dictionary<String, Any> but found a dictionary instead”).</div><div class=""><br class=""></div><div class="">Not sure the best way to workaround these: I started doing so explicitly in the unbox methods, but it didn’t feel intuitively right (apart from all the boilerplate code, sometimes the input value would be a Foundation object, other times not). I haven’t had time to investigate further.</div><div class=""><div class=""><br class=""><div class="">
<div style="color: rgb(0, 0, 0); font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; margin: 0px; font-size: 12px; line-height: normal; font-family: 'Akzidenz-Grotesk Pro';" class=""><span style="-webkit-font-kerning: none;" class="">Luke Howard</span></div><div style="color: rgb(0, 0, 0); font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; margin: 0px; font-size: 10px; line-height: normal; font-family: 'Akzidenz-Grotesk Pro';" class=""><a href="http://lukehoward.com" class="">web</a> / <a href="https://www.facebook.com/lukehowardmusic" class=""><span style="line-height: normal; -webkit-font-kerning: none;" class="">facebook</span></a> / <a href="https://soundcloud.com/lukehoward/" class=""><span style="line-height: normal; -webkit-font-kerning: none;" class="">soundcloud</span></a> / <span style="line-height: normal; -webkit-font-kerning: none;" class=""><a href="https://open.spotify.com/artist/3duTXsC49HoPt4f4EySDKf" class="">spotify</a></span></div></div></div></div></body></html>