<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8">
</head>
<body>
<div style="font-family:sans-serif"><div style="white-space:normal">
<p dir="auto">Hi Luke,</p>

<p dir="auto">Thanks for putting this together! Do you mind putting that up as a <a href="https://github.com/apple/swift-corelibs-foundation/pulls" style="color:#3983C4">pull request</a> so we can review it more formally and run it through CI?</p>

<p dir="auto">— Itai</p>

<p dir="auto">On 22 Sep 2017, at 19:53, Luke Howard via swift-corelibs-dev wrote:</p>

</div>
<div style="white-space:normal"></div>
<blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px"><div id="0EA13728-A891-4579-9780-9049A9A527B4"><div 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></div></div></blockquote>
<div style="white-space:normal">
<blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px">
</blockquote><blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px"><p dir="auto">_______________________________________________<br>
swift-corelibs-dev mailing list<br>
swift-corelibs-dev@swift.org<br>
<a href="https://lists.swift.org/mailman/listinfo/swift-corelibs-dev" style="color:#777">https://lists.swift.org/mailman/listinfo/swift-corelibs-dev</a></p>
</blockquote></div>
<div style="white-space:normal">
</div>
</div>
</body>
</html>