<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="">Had a crack on this, is anyone able to test this on Linux?<div class=""><br class=""></div><div class=""><a href="https://github.com/lhoward/swift-corelibs-foundation/commit/8f8d16c8d68f1af7730522e728d96f8d93c88a2e" class="">https://github.com/lhoward/swift-corelibs-foundation/commit/8f8d16c8d68f1af7730522e728d96f8d93c88a2e</a></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 20 Sep 2017, at 23:30, Luke Howard via swift-corelibs-dev &lt;<a href="mailto:swift-corelibs-dev@swift.org" class="">swift-corelibs-dev@swift.org</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div 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&lt;String, Any&gt; 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="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="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>&nbsp;/&nbsp;<a href="https://www.facebook.com/lukehowardmusic" class=""><span style="line-height: normal; -webkit-font-kerning: none;" class="">facebook</span></a>&nbsp;/&nbsp;<a href="https://soundcloud.com/lukehoward/" class=""><span style="line-height: normal; -webkit-font-kerning: none;" class="">soundcloud</span></a>&nbsp;/&nbsp;<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></div>_______________________________________________<br class="">swift-corelibs-dev mailing list<br class=""><a href="mailto:swift-corelibs-dev@swift.org" class="">swift-corelibs-dev@swift.org</a><br class="">https://lists.swift.org/mailman/listinfo/swift-corelibs-dev<br class=""></div></blockquote></div><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>&nbsp;/&nbsp;<a href="https://www.facebook.com/lukehowardmusic" class=""><span style="line-height: normal; -webkit-font-kerning: none;" class="">facebook</span></a>&nbsp;/&nbsp;<a href="https://soundcloud.com/lukehoward/" class=""><span style="line-height: normal; -webkit-font-kerning: none;" class="">soundcloud</span></a>&nbsp;/&nbsp;<a href="https://open.spotify.com/artist/3duTXsC49HoPt4f4EySDKf" class=""><span style="line-height: normal; -webkit-font-kerning: none;" class="">spotify</span></a></div>
</div>
<br class=""></div></body></html>