<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body><div>I've made that change and the `codeUnits` split, but am waiting on the tests before I update the branch. The proposal has been updated and pushed.<br></div>
<div>&nbsp;</div>
<div id="sig40804545"><div class="signature">Happy Friday!<br></div>
<div class="signature">Zach Waldowski<br></div>
<div class="signature"><a href="mailto:zach@waldowski.me">zach@waldowski.me</a><br></div>
</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>On Fri, Jan 15, 2016, at 06:15 PM, Max Moiseev wrote:<br></div>
<blockquote type="cite"><div>Zach,<br></div>
<div>&nbsp;</div>
<div>A quick note on usage of @available attribute in your code.<br></div>
<div>&nbsp;</div>
<div><span class="highlight" style="background-color: rgb(234, 255, 234)"><span class="colour" style="color:rgb(167, 29, 93)"><span class="font" style="font-family:Consolas, 'Liberation Mono', Menlo, Courier, monospace"><span class="size" style="font-size:12px">@available</span></span></span></span><span class="highlight" style="background-color: rgb(234, 255, 234)"><span class="colour" style="color:rgb(51, 51, 51)"><span class="font" style="font-family:Consolas, 'Liberation Mono', Menlo, Courier, monospace"><span class="size" style="font-size:12px">(</span></span></span></span><span class="highlight" style="background-color: rgb(234, 255, 234)"><span class="colour" style="color:rgb(167, 29, 93)"><span class="font" style="font-family:Consolas, 'Liberation Mono', Menlo, Courier, monospace"><span class="size" style="font-size:12px">*</span></span></span></span><span class="highlight" style="background-color: rgb(234, 255, 234)"><span class="colour" style="color:rgb(51, 51, 51)"><span class="font" style="font-family:Consolas, 'Liberation Mono', Menlo, Courier, monospace"><span class="size" style="font-size:12px">, deprecated, renamed</span></span></span></span><span class="highlight" style="background-color: rgb(234, 255, 234)"><span class="colour" style="color:rgb(167, 29, 93)"><span class="font" style="font-family:Consolas, 'Liberation Mono', Menlo, Courier, monospace"><span class="size" style="font-size:12px">=</span></span></span></span><span class="highlight" style="background-color: rgb(234, 255, 234)"><span class="colour" style="color:rgb(24, 54, 145)"><span class="font" style="font-family:Consolas, 'Liberation Mono', Menlo, Courier, monospace"><span class="size" style="font-size:12px"><span style="">"</span>init(validatingCString:)<span style="">”</span></span></span></span></span><span class="highlight" style="background-color: rgb(234, 255, 234)"><span class="colour" style="color:rgb(51, 51, 51)"><span class="font" style="font-family:Consolas, 'Liberation Mono', Menlo, Courier, monospace"><span class="size" style="font-size:12px">)</span></span></span></span><br></div>
<div>&nbsp;</div>
<div>`renamed` provides a hint to XCode on how to actually rewrite the code in order for it to compile. It is quite unfortunate really that `renamed` accepts the syntax in a snippet above.<br></div>
<div>Please change `renamed` to `message`. Message will simply be displayed and expect some action from the developer.<br></div>
<div>&nbsp;</div>
<div>thanks,<br></div>
<div>max<br></div>
<div>&nbsp;</div>
<div><blockquote type="cite"><div>On Jan 14, 2016, at 6:02 PM, Zachary Waldowski via swift-evolution &lt;<a href="mailto:swift-evolution@swift.org">swift-evolution@swift.org</a>&gt; wrote:<br></div>
<div>&nbsp;</div>
<div><div><div>In response to some recommendations from the Swift 3 plans, the proposed API has been made more comprehensive, and the proposal updated to fit.<br></div>
<div>&nbsp;</div>
<div>The proposal is now PR'ed:<br></div>
<div>&nbsp;</div>
<div> <a href="https://github.com/apple/swift-evolution/pull/101">https://github.com/apple/swift-evolution/pull/101</a><br></div>
<div>&nbsp;</div>
<div>The code is still where it was before:<br></div>
<div>&nbsp;</div>
<div> <a href="https://github.com/apple/swift/compare/master...zwaldowski:string-from-code-units">https://github.com/apple/swift/compare/master...zwaldowski:string-from-code-units</a><br></div>
<div>&nbsp;</div>
<div>Sent from my iPhone<br></div>
<div>_______________________________________________<br></div>
<div>swift-evolution mailing list<br></div>
<div><a href="mailto:swift-evolution@swift.org">swift-evolution@swift.org</a><br></div>
<div>https://lists.swift.org/mailman/listinfo/swift-evolution<br></div>
</div>
</div>
</blockquote></div>
</blockquote><div>&nbsp;</div>
</body>
</html>